Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2023.
[simgrid.git] / examples / deprecated / java / process / migration / Main.java
index 70a0afc..d8d202b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2019. The SimGrid Team.
+/* Copyright (c) 2012-2023. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -36,6 +36,7 @@ class Main {
         policeman.start();
         Emigrant emigrant   = new Emigrant("Jacquelin","emigrant");
         emigrant.start();
+        processToMigrate = emigrant;
     } catch (HostNotFoundException e){
       Msg.error("Create processes failed!");
       e.printStackTrace();