PATCH for system class loader simplification
Tom Tromey
tromey@redhat.com
Fri Aug 31 12:13:00 GMT 2001
>>>>> "Per" == Per Bothner <per@bothner.com> writes:
Per> Comments? Should I check this in?
I think this is fine.
Per> * java/lang/ClassLoader.java (system): Remove static field.
Per> (getSystemClassLoader): Get gnu.gcj.runtime.VMClassLoader.instance
Per> directly instead of using it to set the system field.
Per> (loadClass): Use VMClassLoader.instance instead of system field.
Per> (findSystemClass): Similar.
Per> * prims.cc (_Jv_RunMain): Clear VMClassLoader::instance rather
Per> than ClassLoader::system which no longer exists.
Per> * java/lang/natClassLoader.java (_Jv_FindClass): Simplify.
Tom
More information about the Java-patches
mailing list