Patch: FYI: ClassLoader fix

Bryce McKinlay bryce@mckinlay.net.nz
Thu Oct 2 22:51:00 GMT 2003


On Friday, Oct 3, 2003, at 03:07 Pacific/Auckland, Tom Tromey wrote:

> First, we could get an error due to circular initialization at startup
> (which isn't the problem per se, but it meant that a static field
> wasn't initialized at the point where we needed it to be).  This is
> fixed by explicitly initializing ClassLoader during startup.

> 	* prims.cc (_Jv_RunMain): Initialize ClassLoader.

This should be done in _Jv_CreateJavaVM shouldn't it? _Jv_RunMain 
doesn't get called if libgcj is started by invocation.

Regards

Bryce.




More information about the Java-patches mailing list