mirror of
https://github.com/corda/corda.git
synced 2024-12-28 16:58:55 +00:00
set stack index to the correct value when unwinding to an exception handler
This commit is contained in:
parent
9d4c589ab1
commit
950e1eb5cb
@ -3191,7 +3191,7 @@ run(Thread* t)
|
|||||||
== arrayBody(t, t->vm->types, Machine::ClassType) and
|
== arrayBody(t, t->vm->types, Machine::ClassType) and
|
||||||
instanceOf(t, catchType, exception)))
|
instanceOf(t, catchType, exception)))
|
||||||
{
|
{
|
||||||
sp = frameBase(t, frame);
|
sp = frame + FrameFootprint;
|
||||||
ip = exceptionHandlerIp(eh);
|
ip = exceptionHandlerIp(eh);
|
||||||
pushObject(t, exception);
|
pushObject(t, exception);
|
||||||
exception = 0;
|
exception = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user