Commit fe873898 by Anthony Green Committed by Anthony Green

Obvious fix for systems with no interpreter.

From-SVN: r72903
parent 7a24bb87
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment