hotspot/src/share/vm/runtime/interfaceSupport.hpp
changeset 41084 fc5db29fa08e
parent 40926 2fd1cf3e70e9
child 46373 e8e9b36783f3
--- a/hotspot/src/share/vm/runtime/interfaceSupport.hpp	Tue Sep 13 11:32:45 2016 +0200
+++ b/hotspot/src/share/vm/runtime/interfaceSupport.hpp	Tue Sep 13 09:04:44 2016 +0200
@@ -280,6 +280,7 @@
 
   ~ThreadToNativeFromVM() {
     trans_from_native(_thread_in_vm);
+    assert(!_thread->is_pending_jni_exception_check(), "Pending JNI Exception Check");
     // We don't need to clear_walkable because it will happen automagically when we return to java
   }
 };