More new ABI ramblings

Tom Tromey tromey@redhat.com
Tue Aug 19 19:16:00 GMT 2003


Andrew> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9861 suggests that the
Andrew> return type ought to be taken into account when generating a mangled
Andrew> name.

Andrew> Is there anything that we can do to disambiguate such cases?
Andrew> Perhaps we could change the Java name mangling so that it
Andrew> really does contain the return type, and change the C++
Andrew> compiler to match.

We might not have to change C++.  Can we have native methods that are
overloaded in this way?  JNI doesn't currently allow it (but maybe
they changed that for 1.5 too).  We'd have to look at the changes to
the language spec to find out.

Tom



More information about the Java mailing list