Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
stop being ugly, Adrien, this cannot happen
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 20 Mar 2017 20:11:03 +0000 (21:11 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 20 Mar 2017 21:46:32 +0000 (22:46 +0100)
src/bindings/java/jmsg.cpp

index 56ba7ab..5cf85c5 100644 (file)
@@ -332,8 +332,6 @@ void java_main_jprocess(jobject jprocess)
   msg_process_t process = MSG_process_self();
   jprocess_bind(context->jprocess, process, env);
 
-  // Adrien, ugly path, just to bypass creation of context at low levels (i.e such as for the VM migration for instance)
-  if (context->jprocess != nullptr)
-    run_jprocess(env, context->jprocess);
+  run_jprocess(env, context->jprocess);
 }
 }}}