Re: [Sablevm-user] [1.0.4] java.lang.Class.getField unimplemented?
Brought to you by:
egagnon
From: John L. <je...@pi...> - 2002-08-27 14:20:48
|
On Tue, 2002-08-27 at 08:17, Vladimir G. Ivanovic wrote: > Progress! I can run HelloWorld with 1.0.4! But I still can't run > http://leonora.org/~vladimir/tmp/TIC.java . > > Here is a transcript of Sun's JVM (build 1.4.0-b92) followed by > sablevm-1.0.4: > > $ java TIC > > System.out.println "hello,world" > hello,world > > ^D > $ sablevm -Y TIC > System.out.println "hello,world" > *** Couldn't bind native method Java_java_lang_Class_getField *** > *** or Java_java_lang_Class_getField__Ljava_lang_String_2 *** > > java.lang.UnsatisfiedLinkError > at java.lang.Class.getField(Class.java) > at TIC.select(TIC.java:372) > at TIC$4.force(TIC.java:279) > at TIC.force(TIC.java:212) > at TIC$Word.eval(TIC.java:276) > at TIC.eval(TIC.java:209) > at TIC$List.eval(TIC.java:295) > at TIC.eval(TIC.java:209) > at TIC.commandLoop(TIC.java:115) > at TIC.main(TIC.java:93) > at java.lang.VirtualMachine.invokeMain(VirtualMachine.java) > at java.lang.VirtualMachine.main(VirtualMachine.java:88) I ran this program with my kissme JVM (which also uses Classpath) > [Note that sablevm doesn't display the "> " prompt.] Kissme did the same, so it might be Classpath specific. > Is this because java.lang.Class.getField() is not implemented by > sablevm-1.0.4-native-library? Sounds like it. John Leuner |