Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a 3 years old bug in the dictionary's function xbt_dict_get_or_null().
[simgrid.git] / examples / java / suspend / SuspendTest.java
index 8f18fa9..60acfd1 100644 (file)
@@ -13,7 +13,7 @@ import simgrid.msg.*;
 
 public class SuspendTest {
     
-    public static void main(String[] args) throws JniException, NativeException {
+    public static void main(String[] args) throws NativeException {
        
        /* initialize the MSG simulation. Must be done before anything else (even logging). */
        Msg.init(args);
@@ -25,11 +25,6 @@ public class SuspendTest {
                System.exit(1);
        }
        
-       /* specify the number of channel for the process of the simulation. */
-       Channel.setNumber(1);
-        /* specify a paje output file. */
-        Msg.pajeOutput("suspend.trace");
-               
        /* construct the platform and deploy the application */
        Msg.createEnvironment(args[0]);
        Msg.deployApplication(args[1]);