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]

Re: PATCH for system class loader simplification


>>>>> "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


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