[Sablevm-user] [1.0.4] java.lang.Class.getField unimplemented?
Brought to you by:
egagnon
From: Vladimir G. I. <vla...@ac...> - 2002-08-27 07:17:53
|
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) [Note that sablevm doesn't display the "> " prompt.] Is this because java.lang.Class.getField() is not implemented by sablevm-1.0.4-native-library? --- Vladimir -------- Vladimir G. Ivanovic http://leonora.org/~vladimir 2770 Cowper St. vla...@ac... Palo Alto, CA 94306-2447 +1 650 678 8014 "EMG" == Etienne M Gagnon <eti...@uq...> writes: EMG> Download EMG> ======== EMG> http://sourceforge.net/project/showfiles.php?group_id=5523&release_id=106963 EMG> Changes EMG> ======= EMG> - Work around the libffi header bug by defining new configure macros. EMG> - Implement _svmf_iflush() for processors with distinct data and EMG> instruction caches. EMG> - Minor bug fixes. EMG> Notes EMG> ===== EMG> To install SableVM, you must download the three files: EMG> - sablevm-x.y.z.tar.gz EMG> - sablevm-class-library-x.y.z.tar.gz EMG> - sablevm-native-library-x.y.z.tar.gz EMG> Then: EMG> 1- Uncompress the sablevm-x.y.z.tar.gz file (tar -xzf). EMG> 2- Read the README file. EMG> 3- Follow instructions in the INSTALL file. EMG> Enjoy! EMG> Etienne EMG> -- EMG> Etienne M. Gagnon http://www.info.uqam.ca/~egagnon/ EMG> SableVM: http://www.sablevm.org/ EMG> SableCC: http://www.sablecc.org/ EMG> ------------------------------------------------------- EMG> This sf.net email is sponsored by: OSDN - Tired of that same old EMG> cell phone? Get a new here for FREE! EMG> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 EMG> _______________________________________________ EMG> Sablevm-announce mailing list EMG> Sab...@li... EMG> https://lists.sourceforge.net/lists/listinfo/sablevm-announce |