mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
check for exception after calling resolveClass in parseInterfaceTable
This commit is contained in:
parent
f8bf83bfec
commit
d5f4811b43
@ -858,6 +858,8 @@ parseInterfaceTable(Thread* t, Stream& s, object class_, object pool)
|
||||
PROTECT(t, name);
|
||||
|
||||
object interface = resolveClass(t, name);
|
||||
if (UNLIKELY(t->exception)) return;
|
||||
|
||||
PROTECT(t, interface);
|
||||
|
||||
hashMapInsertMaybe(t, map, name, interface, byteArrayHash, byteArrayEqual);
|
||||
|
Loading…
Reference in New Issue
Block a user