This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: FUBAR in java.io.PrintWriter.h due to bridge methods
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Haley <aph at gcc dot gnu dot org>
- Cc: java at gcc dot gnu dot org
- Date: 17 Apr 2007 12:07:57 -0600
- Subject: Re: FUBAR in java.io.PrintWriter.h due to bridge methods
- References: <17956.35709.920664.92612@zebedee.pink>
- Reply-to: tromey at redhat dot com
>>>>> "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