Re: SableVM on ARM fails to run HelloWorld
Etienne Gagnon <[email protected]> Sat, 26 Nov 2005 00:34:26 -0500
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Chris, Can you check what happens when mmap() is used to read the class file insrc/libsablevm/class_loader.c (or in src/libsablevm/zip_file_reader.c). Etienne Chris Develder wrote: > On the ARM system, the Java_java_lang_VMClassLoader_nativeDefineClass > (libsablevm/java_lang_VMClassLoader.c) fails where it calls > _svmh_parse_class_file (in libsablevm/class_file_parser.c), because the > class_file_length == 0 (which causes the first _svmh_parse_u32 call to > retrieve the magic number from the .class file to fail). > > So it seems something goes wrong when reading the HelloWorld.class file... -- Etienne M. Gagnon, Ph.D. http://www.info2.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ _______________________________________________ SableVM-user mailing list [email protected] http://sablevm.org/lists/control/listinfo/sablevm-user
signature.asc
(application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDh/PijyrJi4rH84gRAsldAJ4tNYk3Uo9XvqlpyXTvzhPOQGVU/wCfYbnO rH26gluLxyR5IGninJ6n4fw= =60Bz -----END PGP SIGNATURE-----