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]

FUBAR in java.io.PrintWriter.h due to bridge methods


g++ says:

/home/aph/gcc/trunk/libjava/java/io/PrintWriter.h:63: error: 'virtual java::io::Writer* java::io::PrintWriter::target$append(java::lang::CharSequence*, jint, jint)' cannot be overloaded
/home/aph/gcc/trunk/libjava/java/io/PrintWriter.h:57: error: with 'virtual java::io::PrintWriter* java::io::PrintWriter::target$append(java::lang::CharSequence*, jint, jint)'

and it's right:

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

there is no disambiguation between these two methods.  Suggestions?

Andrew.


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