This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: jc1 and different vm langauges


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]