This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: FYI: ClassLoader fix


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]