This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH for system class loader simplification
- To: Per Bothner <per at bothner dot com>
- Subject: Re: PATCH for system class loader simplification
- From: Tom Tromey <tromey at redhat dot com>
- Date: 31 Aug 2001 13:50:25 -0600
- Cc: java-patches at gcc dot gnu dot org
- References: <m2wv3lursz.fsf@eureka.bothner.com>
- Reply-To: tromey at redhat dot com
>>>>> "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