X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fb418fda0da654ac644cc5c8cbc042c61bb7deb3..83d62d72a9468f9f8e97b677dd40d5a2bd60ba86:/src/bindings/java/jmsg.cpp diff --git a/src/bindings/java/jmsg.cpp b/src/bindings/java/jmsg.cpp index a98c6bd28c..ebe959756d 100644 --- a/src/bindings/java/jmsg.cpp +++ b/src/bindings/java/jmsg.cpp @@ -277,7 +277,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::StopRequest::do_throw(); + simgrid::ForcefulKillException::do_throw(); } }