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:
Bryce McKinlay 2004-05-21 16:08:50 +00:00 committed by Bryce McKinlay
parent e54d021400
commit 17abdabcf3
3 changed files with 10 additions and 4 deletions

View file

@ -790,9 +790,6 @@ java::lang::Class::initializeClass (void)
}
}
if (isInterface ())
_Jv_LayoutInterfaceMethods (this);
_Jv_PrepareConstantTimeTables (this);
if (vtable == NULL)