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:
 > Andrew Haley schrieb:
 > > 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?
 > 
 > No. I am afraid I tried it with the current 4_1 branch.
 > Did you change the mangling in trunk?

Yes.  

It's usually a good idea to try things on trunk as well as branches;
stabilization time on a branch can be quite long, and ABI-breaking
changes (like this one) are usually only applied to trunk.

Andrew.


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