aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nativewindow/classes/com/sun/nativewindow/impl/jvm/JVMUtil.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/nativewindow/classes/com/sun/nativewindow/impl/jvm/JVMUtil.java b/src/nativewindow/classes/com/sun/nativewindow/impl/jvm/JVMUtil.java
index a4bffb100..3faab68bb 100644
--- a/src/nativewindow/classes/com/sun/nativewindow/impl/jvm/JVMUtil.java
+++ b/src/nativewindow/classes/com/sun/nativewindow/impl/jvm/JVMUtil.java
@@ -50,15 +50,6 @@ public class JVMUtil {
private static final boolean DEBUG = Debug.debug("JVMUtil");
static {
- initSingleton();
- }
-
- private static volatile boolean isInit = false;
-
- public static synchronized void initSingleton() {
- if(isInit) return;
- isInit=true;
-
NativeLibLoaderBase.loadNativeWindow("jvm");
ByteBuffer buffer = InternalBufferUtil.newByteBuffer(64);
@@ -71,6 +62,9 @@ public class JVMUtil {
}
}
+ public static void initSingleton() {
+ }
+
private JVMUtil() {}
private static native boolean initialize(java.nio.ByteBuffer buffer);