natVMClassLoader.cc (loadClass): Call resolveClass, not _Jv_InitClass.
* java/lang/natVMClassLoader.cc (loadClass): Call resolveClass, not _Jv_InitClass. From-SVN: r98388
This commit is contained in:
parent
117e744410
commit
8fe0225bf8
2 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue