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: [gcj trunk / gnu-classpath] String.format(...) undefined


Hanno Meyer-Thurow writes:
 > On Sun, 18 Feb 2007 00:42:24 +0100
 > Mark Wielaard <mark@klomp.org> wrote:
 > 
 > > The "trick" is to not try to implement bridge methods in cni, but just
 > > delegate to a differently named private native method (nativeCompareTo).
 > > Compiles now and passes make check. But still needs some more testing
 > > (volunteers welcome! :)
 > 
 > I get this error with the second patch, natString.s attached.
 > 
 /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070216/work/gcc-4.3-20070216/libjava/java/lang/natString.cc:710: error: no 'jint java::lang::String::nativeCompareTo(java::lang::String*)' member function declared in class 'java::lang::String'

You didn't rebuild the header file for String.h ?

Do an 'svn diff' on libjava/java/lang/String.h

Andrew.


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