Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
migrate to set_host in java too
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Tue, 12 Nov 2019 11:46:32 +0000 (12:46 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Tue, 12 Nov 2019 11:46:32 +0000 (12:46 +0100)
src/bindings/java/jmsg_process.cpp

index 5d57308..cb71bba 100644 (file)
@@ -282,7 +282,7 @@ JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_migrate(JNIEnv * env, jobjec
   }
 
   /* change the host of the process */
-  process->migrate(host);
+  process->set_host(host);
 
   /* change the host java side */
   env->SetObjectField(jprocess, jprocess_field_Process_host, jhost);