src/share/vm/c1/c1_Runtime1.cpp

changeset 1577
4ce7240d622c
parent 1014
0fbdb4381b99
child 1648
6deeaebad47a
child 1680
6484c4ee11cb
equal deleted inserted replaced
1575:1f6d42899c3a 1577:4ce7240d622c
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

mercurial