summaryrefslogtreecommitdiff
path: root/libjava/interpret-run.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/interpret-run.cc')
-rw-r--r--libjava/interpret-run.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libjava/interpret-run.cc b/libjava/interpret-run.cc
index 1eea57e1f9e..fc2e1e514c1 100644
--- a/libjava/interpret-run.cc
+++ b/libjava/interpret-run.cc
@@ -563,6 +563,7 @@ details. */
}
else
{
+ NULLCHECK (sp[0].o);
jobject rcv = sp[0].o;
_Jv_VTable *table = *(_Jv_VTable**) rcv;
fun = (void (*)()) table->get_method (rmeth->method->index);