mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
if we can't resolve a bootstrap class in isAssignableFrom(), we swallow the exception and return false
This commit is contained in:
@ -1082,9 +1082,8 @@ interpret(Thread* t)
|
||||
(t, className(t, objectClass(t, peekObject(t, sp - 1))), 0),
|
||||
&byteArrayBody(t, className(t, class_), 0));
|
||||
exception = makeClassCastException(t, message);
|
||||
goto throw_;
|
||||
}
|
||||
|
||||
if (UNLIKELY(exception)) goto throw_;
|
||||
}
|
||||
} goto loop;
|
||||
|
||||
@ -1785,8 +1784,6 @@ interpret(Thread* t)
|
||||
} else {
|
||||
pushInt(t, 0);
|
||||
}
|
||||
|
||||
if (UNLIKELY(exception)) goto throw_;
|
||||
} else {
|
||||
popObject(t);
|
||||
pushInt(t, 0);
|
||||
|
Reference in New Issue
Block a user