From 8fe0225bf820ca31efe6f5b348866b93fe2c387b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 19 Apr 2005 06:36:10 +0000 Subject: natVMClassLoader.cc (loadClass): Call resolveClass, not _Jv_InitClass. * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass, not _Jv_InitClass. From-SVN: r98388 --- libjava/java/lang/natVMClassLoader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/java/lang') diff --git a/libjava/java/lang/natVMClassLoader.cc b/libjava/java/lang/natVMClassLoader.cc index 182b8d7..e7054fb 100644 --- a/libjava/java/lang/natVMClassLoader.cc +++ b/libjava/java/lang/natVMClassLoader.cc @@ -216,7 +216,7 @@ java::lang::VMClassLoader::loadClass(jstring name, jboolean resolve) // It isn't clear from the spec, but this is what other // implementations do in practice. if (resolve) - _Jv_InitClass (klass); + resolveClass (klass); else _Jv_Linker::wait_for_state (klass, JV_STATE_LOADING); -- cgit v1.1