jc1 and different vm langauges
Andrew Haley
aph@redhat.com
Sat Mar 11 22:51:00 GMT 2006
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.
More information about the Java
mailing list