jc1 and different vm langauges

Andrew Haley aph@redhat.com
Sun Mar 12 10:10:00 GMT 2006


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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /