Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
java process creation: this was already binded by java_main_jprocess()
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 10 Nov 2018 23:54:05 +0000 (00:54 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 11 Nov 2018 01:59:33 +0000 (02:59 +0100)
src/bindings/java/jmsg_process.cpp

index 7580858..9caba49 100644 (file)
@@ -77,9 +77,6 @@ JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_create(JNIEnv* env, jobject
                                       /*data*/ nullptr, jhost_get_native(env, jhost), /* properties*/ nullptr);
   env->ReleaseStringUTFChars(jname, name);
 
                                       /*data*/ nullptr, jhost_get_native(env, jhost), /* properties*/ nullptr);
   env->ReleaseStringUTFChars(jname, name);
 
-  /* bind the java process instance to the native process */
-  jprocess_bind(jprocess, process, env);
-
   /* Retrieve the kill time from the process */
   jdouble jkill = env->GetDoubleField(jprocess, jprocess_field_Process_killTime);
   MSG_process_set_kill_time(process, (double)jkill);
   /* Retrieve the kill time from the process */
   jdouble jkill = env->GetDoubleField(jprocess, jprocess_field_Process_killTime);
   MSG_process_set_kill_time(process, (double)jkill);