Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
++Suppression.
[simgrid.git] / src / bindings / java / org / simgrid / msg / VM.java
index 9389a554bd474c0a91de0cfe0e4b62f0686ec71e..13fa595b6baf1a038220767a62fd1bf0a71837f3 100644 (file)
@@ -58,7 +58,7 @@ public class VM {
         */     
        public native void bind(Process process);
        /** Removes the given process from the given VM, and kill it
-        *  Will raise a ProcessNotFound exception if the process were not binded to that VM
+        *  Will raise a ProcessNotFound exception if the process were not bound to that VM
         */     
        public native void unbind(Process process);
        /** Immediately change the host on which all processes are running
@@ -95,4 +95,12 @@ public class VM {
        public String getName() {
                return name;
        }               
+
+       /**
+        * Class initializer, to initialize various JNI stuff
+        */
+       public static native void nativeInit();
+       static {
+               nativeInit();
+       }
 }