equal
deleted
inserted
replaced
423 } |
423 } |
424 #ifdef ASSERT |
424 #ifdef ASSERT |
425 assert(exception.not_null(), "NULL exceptions should be handled by throw_exception"); |
425 assert(exception.not_null(), "NULL exceptions should be handled by throw_exception"); |
426 assert(exception->is_oop(), "just checking"); |
426 assert(exception->is_oop(), "just checking"); |
427 // Check that exception is a subclass of Throwable, otherwise we have a VerifyError |
427 // Check that exception is a subclass of Throwable, otherwise we have a VerifyError |
428 if (!(exception->is_a(SystemDictionary::throwable_klass()))) { |
428 if (!(exception->is_a(SystemDictionary::Throwable_klass()))) { |
429 if (ExitVMOnVerifyError) vm_exit(-1); |
429 if (ExitVMOnVerifyError) vm_exit(-1); |
430 ShouldNotReachHere(); |
430 ShouldNotReachHere(); |
431 } |
431 } |
432 #endif |
432 #endif |
433 |
433 |