diff src/share/vm/prims/jni.cpp @ 23385:6ee2af864395

8156034: update 01
author Josef Eisl <josef.eisl@jku.at>
date Wed, 11 May 2016 09:50:37 +0200
parents dd9cc155639c
children 2625b10989ee
line wrap: on
line diff
--- a/src/share/vm/prims/jni.cpp	Tue May 10 14:55:40 2016 +0200
+++ b/src/share/vm/prims/jni.cpp	Wed May 11 09:50:37 2016 +0200
@@ -5210,6 +5210,10 @@
       JavaThread* THREAD = thread;
       JVMCICompiler* compiler = JVMCICompiler::instance(CATCH);
       compiler->bootstrap();
+      if (HAS_PENDING_EXCEPTION) {
+        HandleMark hm;
+        vm_exit_during_initialization(Handle(THREAD, PENDING_EXCEPTION));
+      }
     }
 #endif