Obvious fix for systems with no interpreter.
From-SVN: r72903
This commit is contained in:
parent
7a24bb87d5
commit
fe8738988d
@ -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>
|
2003-10-22 Andrew Haley <aph@redhat.com>
|
||||||
|
|
||||||
* java/lang/natClass.cc (initializeClass): Call
|
* java/lang/natClass.cc (initializeClass): Call
|
||||||
|
@ -1698,9 +1698,11 @@ _Jv_LinkSymbolTable(jclass klass)
|
|||||||
{
|
{
|
||||||
if (meth->ncode) // Maybe abstract?
|
if (meth->ncode) // Maybe abstract?
|
||||||
klass->atable->addresses[index] = meth->ncode;
|
klass->atable->addresses[index] = meth->ncode;
|
||||||
|
#ifdef INTERPRETER
|
||||||
else if (_Jv_IsInterpretedClass (target_class))
|
else if (_Jv_IsInterpretedClass (target_class))
|
||||||
_Jv_Defer_Resolution (target_class, meth,
|
_Jv_Defer_Resolution (target_class, meth,
|
||||||
&klass->atable->addresses[index]);
|
&klass->atable->addresses[index]);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
klass->atable->addresses[index] = (void *)_Jv_ThrowNoSuchMethodError;
|
klass->atable->addresses[index] = (void *)_Jv_ThrowNoSuchMethodError;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user