Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change helper functions to static methods of StopRequest.
[simgrid.git] / src / bindings / java / jmsg.cpp
index 528510a..4b81f4e 100644 (file)
@@ -270,7 +270,7 @@ static void run_jprocess(JNIEnv *env, jobject jprocess)
     env->ExceptionClear();
     XBT_ATTRIB_UNUSED jint error = __java_vm->DetachCurrentThread();
     xbt_assert(error == JNI_OK, "Cannot detach failing thread");
-    simgrid::kernel::context::throw_stoprequest();
+    simgrid::kernel::context::StopRequest::do_throw();
   }
 }