< prev index next >

src/hotspot/share/prims/jvmtiEnv.cpp

Print this page

        

@@ -1099,11 +1099,11 @@
   jvmtiError err = JvmtiExport::cv_external_thread_to_JavaThread(tlh.list(), thread, &java_thread, NULL);
   if (err != JVMTI_ERROR_NONE) {
     return err;
   }
 
-  Thread::interrupt(java_thread);
+  java_thread->interrupt();
 
   return JVMTI_ERROR_NONE;
 } /* end InterruptThread */
 
 
< prev index next >