From f144591b54e4bd5cd794c514fd421e226903cf74 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Sun, 9 Sep 2007 14:55:45 +0000 Subject: interpret-run.cc (invokevirtual_resolved): Nullcheck object on TOS. * interpret-run.cc (invokevirtual_resolved): Nullcheck object on TOS. From-SVN: r128298 --- libjava/ChangeLog | 5 +++++ libjava/interpret-run.cc | 1 + 2 files changed, 6 insertions(+) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a9458e9..dd86f27 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2007-09-09 Andrew Haley + + * interpret-run.cc (invokevirtual_resolved): Nullcheck object on + TOS. + 2007-09-06 Tom Tromey * testsuite/libjava.lang/StackTrace2.jar: Rebuilt. diff --git a/libjava/interpret-run.cc b/libjava/interpret-run.cc index 1eea57e..fc2e1e5 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); -- cgit v1.1