This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: More new ABI ramblings
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: 19 Aug 2003 13:07:52 -0600
- Subject: Re: More new ABI ramblings
- References: <16194.18155.94423.57003@cuddles.cambridge.redhat.com>
- Reply-to: tromey at redhat dot com
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