comparison src/share/vm/opto/runtime.cpp @ 1142:4ce7240d622c

6914300: ciEnv should export all well known classes Reviewed-by: kvn, twisti
author never
date Wed, 06 Jan 2010 14:22:39 -0800
parents e66fd840cb6b
children 7b0e9cba0307
comparison
equal deleted inserted replaced
1140:1f6d42899c3a 1142:4ce7240d622c
788 } 788 }
789 // for AbortVMOnException flag 789 // for AbortVMOnException flag
790 NOT_PRODUCT(Exceptions::debug_check_abort(exception)); 790 NOT_PRODUCT(Exceptions::debug_check_abort(exception));
791 791
792 #ifdef ASSERT 792 #ifdef ASSERT
793 if (!(exception->is_a(SystemDictionary::throwable_klass()))) { 793 if (!(exception->is_a(SystemDictionary::Throwable_klass()))) {
794 // should throw an exception here 794 // should throw an exception here
795 ShouldNotReachHere(); 795 ShouldNotReachHere();
796 } 796 }
797 #endif 797 #endif
798 798
937 #ifndef PRODUCT 937 #ifndef PRODUCT
938 SharedRuntime::_rethrow_ctr++; // count rethrows 938 SharedRuntime::_rethrow_ctr++; // count rethrows
939 #endif 939 #endif
940 assert (exception != NULL, "should have thrown a NULLPointerException"); 940 assert (exception != NULL, "should have thrown a NULLPointerException");
941 #ifdef ASSERT 941 #ifdef ASSERT
942 if (!(exception->is_a(SystemDictionary::throwable_klass()))) { 942 if (!(exception->is_a(SystemDictionary::Throwable_klass()))) {
943 // should throw an exception here 943 // should throw an exception here
944 ShouldNotReachHere(); 944 ShouldNotReachHere();
945 } 945 }
946 #endif 946 #endif
947 947