Layout interfaces during preparation, not initialization.
* java/lang/natClass.cc (initializeClass): Move _Jv_LayoutInterfaceMethods call... * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here. From-SVN: r82101
This commit is contained in:
committed by
Bryce McKinlay
parent
e54d021400
commit
17abdabcf3
@@ -170,6 +170,9 @@ _Jv_PrepareCompiledClass (jclass klass)
|
||||
}
|
||||
#endif /* INTERPRETER */
|
||||
|
||||
if (klass->isInterface ())
|
||||
_Jv_LayoutInterfaceMethods (klass);
|
||||
|
||||
klass->notifyAll ();
|
||||
|
||||
_Jv_PushClass (klass);
|
||||
|
||||
Reference in New Issue
Block a user