This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: jc1 and different vm langauges
- From: Andrew Haley <aph at redhat dot com>
- To: Jakob Praher <jp at hapra dot at>
- Cc: java at gcc dot gnu dot org
- Date: Sat, 11 Mar 2006 22:51:04 +0000
- Subject: Re: jc1 and different vm langauges
- References: <duvd0s$a4j$1@sea.gmane.org>
Jakob Praher writes:
>
> Currently though, jc1 has a problem with differenting methods only by
> return type. This is not allowed in Java the language, but something like:
>
> Class X {
> int foo( );
> double foo( );
> }
>
> are two valid method defintinos in the class file, cause the signature
> also contains the return type. Whereas the gcc C++/Java name mangling
> does not.
Have you tried this on trunk?
Andrew.