hotspot/src/share/vm/runtime/java.cpp
changeset 46553 7030aea81558
parent 46380 4a51438196cf
child 46560 388aa8d67c80
equal deleted inserted replaced
46552:5cebeef576b2 46553:7030aea81558
   435 #if INCLUDE_JVMCI
   435 #if INCLUDE_JVMCI
   436   // We are not using CATCH here because we want the exit to continue normally.
   436   // We are not using CATCH here because we want the exit to continue normally.
   437   Thread* THREAD = thread;
   437   Thread* THREAD = thread;
   438   JVMCIRuntime::shutdown(THREAD);
   438   JVMCIRuntime::shutdown(THREAD);
   439   if (HAS_PENDING_EXCEPTION) {
   439   if (HAS_PENDING_EXCEPTION) {
       
   440     HandleMark hm(THREAD);
   440     Handle exception(THREAD, PENDING_EXCEPTION);
   441     Handle exception(THREAD, PENDING_EXCEPTION);
   441     CLEAR_PENDING_EXCEPTION;
   442     CLEAR_PENDING_EXCEPTION;
   442     java_lang_Throwable::java_printStackTrace(exception, THREAD);
   443     java_lang_Throwable::java_printStackTrace(exception, THREAD);
   443   }
   444   }
   444 #endif
   445 #endif