ClassLoader initialization in _Jv_RunMain

Mark Wielaard
Mon Nov 10 22:30:00 GMT 2003


On Mon, 2003-11-10 at 22:49, Tom Tromey wrote:

> Actually, you can see it very easily by trying to run gij on a .jar
> file.  Try simple.jar, which is in testsuite/libjava.jar.  I get:

That was discussed a long time ago:

I assume this jar file was actually created by the zip program on Unix
and then renamed to simple.jar?

The gcj Bootstrap classloader cheats a bit (by calling back into
URLClassLoader as a fallback to the interpreter). We should create a
real Classloader (parent) chain, with the URLClassLoader that the
interpreter would use as a real child of the VMClassLoader.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Java mailing list