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:
parent
e54d021400
commit
17abdabcf3
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
|
||||
|
||||
Layout interfaces during preparation, not initialization.
|
||||
* java/lang/natClass.cc (initializeClass): Move
|
||||
_Jv_LayoutInterfaceMethods call...
|
||||
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
|
||||
|
||||
2004-05-19 Anthony Green <green@localhost.localdomain>
|
||||
|
||||
* Makefile.am (awt_java_source_files): Remove javax.rmi and
|
||||
|
@ -27,7 +34,6 @@
|
|||
|
||||
* java/io/Writer.java (Writer(Object)): Check for null lock object.
|
||||
|
||||
|
||||
2004-05-15 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* doc/cni.sgml: Removed, merged into gcj.texi.
|
||||
|
|
|
@ -790,9 +790,6 @@ java::lang::Class::initializeClass (void)
|
|||
}
|
||||
}
|
||||
|
||||
if (isInterface ())
|
||||
_Jv_LayoutInterfaceMethods (this);
|
||||
|
||||
_Jv_PrepareConstantTimeTables (this);
|
||||
|
||||
if (vtable == NULL)
|
||||
|
|
|
@ -170,6 +170,9 @@ _Jv_PrepareCompiledClass (jclass klass)
|
|||
}
|
||||
#endif /* INTERPRETER */
|
||||
|
||||
if (klass->isInterface ())
|
||||
_Jv_LayoutInterfaceMethods (klass);
|
||||
|
||||
klass->notifyAll ();
|
||||
|
||||
_Jv_PushClass (klass);
|
||||
|
|
Loading…
Add table
Reference in a new issue