8273483: Zero: Clear pending JNI exception check in native method handler
Reviewed-by: aph
This commit is contained in:
parent
8c16f485b3
commit
aa9311182a
@ -562,6 +562,12 @@ int ZeroInterpreter::native_entry(Method* method, intptr_t UNUSED, TRAPS) {
|
||||
}
|
||||
}
|
||||
|
||||
// Already did every pending exception check here.
|
||||
// If HAS_PENDING_EXCEPTION is true, the interpreter would handle the rest.
|
||||
if (CheckJNICalls) {
|
||||
THREAD->clear_pending_jni_exception_check();
|
||||
}
|
||||
|
||||
// No deoptimized frames on the stack
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user