diff options
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/com/jogamp/common/os/Platform.java | 2 | ||||
-rw-r--r-- | src/java/jogamp/common/jvm/JVMUtil.java (renamed from src/java/com/jogamp/common/jvm/JVMUtil.java) | 6 |
2 files changed, 6 insertions, 2 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) { diff --git a/src/java/com/jogamp/common/jvm/JVMUtil.java b/src/java/jogamp/common/jvm/JVMUtil.java index 29c5f57..ac6355f 100644 --- a/src/java/com/jogamp/common/jvm/JVMUtil.java +++ b/src/java/jogamp/common/jvm/JVMUtil.java @@ -30,13 +30,15 @@ * SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. */ -package com.jogamp.common.jvm; +package jogamp.common.jvm; import java.nio.ByteBuffer; + +import jogamp.common.Debug; + import com.jogamp.common.nio.Buffers; import com.jogamp.common.os.Platform; -import jogamp.common.Debug; /** * Currently this tool works around the Hotspot race condition bugs: |