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: More new ABI ramblings


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


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