From 950e1eb5cb6ac74461ba057d4dca57fb3892b968 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 10 Jul 2007 17:32:03 -0600 Subject: [PATCH] set stack index to the correct value when unwinding to an exception handler --- src/run.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run.cpp b/src/run.cpp index b6aa206552..9623c9dc97 100644 --- a/src/run.cpp +++ b/src/run.cpp @@ -3191,7 +3191,7 @@ run(Thread* t) == arrayBody(t, t->vm->types, Machine::ClassType) and instanceOf(t, catchType, exception))) { - sp = frameBase(t, frame); + sp = frame + FrameFootprint; ip = exceptionHandlerIp(eh); pushObject(t, exception); exception = 0;