src/hotspot/share/prims/jni.cpp
changeset 54416 b788c494aa46
parent 53895 b22d8ae270a2
child 54432 532e88de77eb
--- a/src/hotspot/share/prims/jni.cpp	Wed Apr 03 12:52:37 2019 -0700
+++ b/src/hotspot/share/prims/jni.cpp	Wed Apr 03 22:03:39 2019 +0000
@@ -4166,7 +4166,7 @@
 
   if (attach_failed) {
     // Added missing cleanup
-    thread->cleanup_failed_attach_current_thread();
+    thread->cleanup_failed_attach_current_thread(daemon);
     return JNI_ERR;
   }