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


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?

thanks
-- Jakob

> 
> Andrew.
> 


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