resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.

1999-08-14  Per Bothner  <per@bothner.com>

	* resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.
	* java/lang/natClass.cc (initializeClass): Likewise.
	* java/lang/ClassLoader.java (resolveClass0): New static method.
	(resolveClass): Call resolveClass0.
	(findSystemClass): No longer static.

From-SVN: r28711
This commit is contained in:
Per Bothner 1999-08-14 12:49:06 -07:00 committed by Tom Tromey
parent 2c169babb6
commit efc3b511cb
5 changed files with 19 additions and 14 deletions

View file

@ -486,7 +486,7 @@ _Jv_PrepareClass(jclass klass)
// the super class, so we use the Java method resolveClass, which will
// unlock it properly, should an exception happen.
java::lang::ClassLoader::resolveClass (klass->superclass);
java::lang::ClassLoader::resolveClass0 (klass->superclass);
_Jv_InterpClass *clz = (_Jv_InterpClass*)klass;