Obvious fix for systems with no interpreter.
From-SVN: r72903
This commit is contained in:
parent
7a24bb87d5
commit
fe8738988d
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-10-24 Anthony Green <green@redhat.com>
|
||||
|
||||
* java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
|
||||
we have no interpreter.
|
||||
|
||||
2003-10-22 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* java/lang/natClass.cc (initializeClass): Call
|
||||
|
|
|
@ -1698,9 +1698,11 @@ _Jv_LinkSymbolTable(jclass klass)
|
|||
{
|
||||
if (meth->ncode) // Maybe abstract?
|
||||
klass->atable->addresses[index] = meth->ncode;
|
||||
#ifdef INTERPRETER
|
||||
else if (_Jv_IsInterpretedClass (target_class))
|
||||
_Jv_Defer_Resolution (target_class, meth,
|
||||
&klass->atable->addresses[index]);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
klass->atable->addresses[index] = (void *)_Jv_ThrowNoSuchMethodError;
|
||||
|
|
Loading…
Add table
Reference in a new issue