Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "Libsimgrid-java already depends on libsimgrid. There's no need to load it...
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 2 Sep 2017 06:26:56 +0000 (08:26 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 2 Sep 2017 06:26:56 +0000 (08:26 +0200)
This reverts commit 4e90ee55b9c3170ef7c9ade5d979987ae395cf00.

It breaks when ligsimgrid must be extracted from simgrid.jar.

src/bindings/java/org/simgrid/NativeLib.java

index 81ffd74..6739dba 100644 (file)
@@ -45,6 +45,7 @@ public final class NativeLib {
                if (System.getProperty("os.name").toLowerCase().startsWith("win"))
                        NativeLib.nativeInit("winpthread-1");
 
+               NativeLib.nativeInit("simgrid");
                NativeLib.nativeInit("simgrid-java");
                isNativeInited = true;
        }