mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
GC safety fix in resolveTarget
This commit is contained in:
parent
f87a78833b
commit
271797bead
@ -71,6 +71,9 @@ resolveTarget(MyThread* t, void* stack, object method)
|
||||
(t, reinterpret_cast<object*>(stack)[parameterFootprint]);
|
||||
|
||||
if (classVmFlags(t, class_) & BootstrapFlag) {
|
||||
PROTECT(t, method);
|
||||
PROTECT(t, class_);
|
||||
|
||||
resolveClass(t, className(t, class_));
|
||||
if (UNLIKELY(t->exception)) return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user