Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove the ability to write internal plugins in Java
[simgrid.git] / src / bindings / java / org / simgrid / msg / Task.java
index 46f568a..64cf042 100644 (file)
@@ -349,7 +349,7 @@ public class Task {
         */
        public native static int listenFrom(String mailbox);
        /**
-        * Listen whether there is a waiting task on the mailbox identified by the specified alias
+        * Listen whether there is a task waiting (either for a send or a recv) on the mailbox identified by the specified alias
         */
        public native static boolean listen(String mailbox);
 
@@ -363,7 +363,7 @@ public class Task {
         */
        public static native void nativeInit();
        static {
-               Msg.nativeInit();
+               org.simgrid.NativeLib.nativeInit();
                nativeInit();
        }