X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2e9105988280d1e88b5b496d6e2eed4c8d541883..1b4e20873a7bd405842f3d8d1e6dd1d518db5535:/src/bindings/java/org/simgrid/msg/VM.java diff --git a/src/bindings/java/org/simgrid/msg/VM.java b/src/bindings/java/org/simgrid/msg/VM.java index 9389a554bd..5c9c8e333a 100644 --- a/src/bindings/java/org/simgrid/msg/VM.java +++ b/src/bindings/java/org/simgrid/msg/VM.java @@ -1,7 +1,7 @@ /* * JNI interface to Cloud interface in Simgrid * - * Copyright 2006-2012 The SimGrid Team. + * Copyright (c) 2006-2013. The SimGrid Team. * All right reserved. * * This program is free software; you can redistribute @@ -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(); + } }