[Bug java/9577] Linker error for legal Java/CNI code if method parameters are reversed

rmathew at hotmail dot com gcc-bugzilla@gcc.gnu.org
Sun Aug 3 18:32:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9577



------- Additional Comments From rmathew at hotmail dot com  2003-08-03 18:32 -------
Subject: Re:  Linker error for legal Java/CNI code if method parameters ar

>------- Additional Comments From pinskia at physics dot uc dot edu  
>2003-08-03 18:25 -------
>In fact the two symbols demangle to the same function.

Curious - I was looking at the possible causes
of the same bug today!

Yes, they do demangle to the same
function - what is incorrect is that the Java
mangler does not compress the common
"java" between "java.lang.String" and
"java.io.File", while the C++ mangler
does.

Strangely, this seems to happen only
if the array argument precedes the
"normal" argument, but not vice versa.

I looked through the code a few times
but could not find an obvious cause for
the behaviour.

I'll keep trying.

Ranjit.

_________________________________________________________________
Going on a holiday? Want to study abroad? 
http://server1.msn.co.in/msnleads/citibankpersonalloan/citibankploanjuly03.asp?type=txt 
Need a personal loan?



More information about the Gcc-bugs mailing list