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: FUBAR in java.io.PrintWriter.h due to bridge methods


>>>>> "Andrew" == Andrew Haley <aph@gcc.gnu.org> writes:

Andrew>   virtual ::java::io::PrintWriter * target$append(::java::lang::CharSequence *, jint, jint);
Andrew>   ...
Andrew>   virtual ::java::io::Writer * target$append(::java::lang::CharSequence *, jint, jint);

How strange.  Why did we not see this earlier?

Andrew> there is no disambiguation between these two methods.  Suggestions?

Obviously I didn't think of the case where a class requires multiple
bridge methods for a given "base" method.  Yikes.

I think the only fix is to further mangle subsequent bridge methods.
How unpleasant.

Tom


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