mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
fix GC safety bug in jvmGetClassInterfaces
This commit is contained in:
parent
19c443254d
commit
2ce549d3f8
@ -2722,6 +2722,8 @@ jvmGetClassInterfaces(Thread* t, uintptr_t* arguments)
|
||||
|
||||
object table = classInterfaceTable(t, jclassVmClass(t, *c));
|
||||
if (table) {
|
||||
PROTECT(t, table);
|
||||
|
||||
unsigned stride =
|
||||
(classFlags(t, jclassVmClass(t, *c)) & ACC_INTERFACE) == 0 ? 2 : 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user