X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1ff90bc7103df77877d6860f1f117425afe1a516..5ed37babb2fa9097abe82df299c0aa259ed84d5a:/examples/deprecated/java/process/migration/Main.java diff --git a/examples/deprecated/java/process/migration/Main.java b/examples/deprecated/java/process/migration/Main.java index 70a0afc0dc..d8d202b264 100644 --- a/examples/deprecated/java/process/migration/Main.java +++ b/examples/deprecated/java/process/migration/Main.java @@ -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();