mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8258839: Remove JVM option ExitVMOnVerifyError
Reviewed-by: iignatyev, dcubed, coleenp
This commit is contained in:
parent
cd94606c0c
commit
fda0943419
4 changed files with 9 additions and 25 deletions
|
@ -490,14 +490,10 @@ JRT_ENTRY(address, InterpreterRuntime::exception_handler_for_exception(JavaThrea
|
|||
should_repeat = false;
|
||||
|
||||
// assertions
|
||||
#ifdef ASSERT
|
||||
assert(h_exception.not_null(), "NULL exceptions should be handled by athrow");
|
||||
// Check that exception is a subclass of Throwable, otherwise we have a VerifyError
|
||||
if (!(h_exception->is_a(SystemDictionary::Throwable_klass()))) {
|
||||
if (ExitVMOnVerifyError) vm_exit(-1);
|
||||
ShouldNotReachHere();
|
||||
}
|
||||
#endif
|
||||
// Check that exception is a subclass of Throwable.
|
||||
assert(h_exception->is_a(SystemDictionary::Throwable_klass()),
|
||||
"Exception not subclass of Throwable");
|
||||
|
||||
// tracing
|
||||
if (log_is_enabled(Info, exceptions)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue