More new ABI ramblings

Tom Tromey
Tue Aug 19 19:16:00 GMT 2003

Andrew> 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.


More information about the Java mailing list