aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/os
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-23 13:32:18 +0200
committerSven Gothel <[email protected]>2011-09-23 13:32:18 +0200
commit0a54e4b8e2923d1c4eb5847a397906fb783a10d3 (patch)
treef9bcffe1f4c828b2871e1269e8aadb3c10982afd /src/java/com/jogamp/common/os
parent9da5bc1fe999caa924bd8dceafeff93ddf9d16a0 (diff)
Moved JVMUtil to private package; Invoke JVMUtil.initSingleton() from Platform static init after loading native library.
Diffstat (limited to 'src/java/com/jogamp/common/os')
-rw-r--r--src/java/com/jogamp/common/os/Platform.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/os/Platform.java b/src/java/com/jogamp/common/os/Platform.java
index 38635e1..3d255ba 100644
--- a/src/java/com/jogamp/common/os/Platform.java
+++ b/src/java/com/jogamp/common/os/Platform.java
@@ -41,6 +41,7 @@ import com.jogamp.common.nio.Buffers;
import com.jogamp.common.util.JarUtil;
import com.jogamp.common.util.cache.TempJarCache;
+import jogamp.common.jvm.JVMUtil;
import jogamp.common.os.MachineDescriptionRuntime;
/**
@@ -190,6 +191,7 @@ public class Platform {
os_and_arch = getOSAndArch(OS_TYPE, CPU_ARCH);
loadGlueGenRTImpl();
+ JVMUtil.initSingleton();
MachineDescription md = MachineDescriptionRuntime.getRuntime();
if(null == md) {