summaryrefslogtreecommitdiffstats
path: root/src/nativewindow
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 10:33:44 +0200
committerSven Gothel <[email protected]>2014-07-08 10:33:44 +0200
commitdb25b1ba6575210741e485838d0882a1590125e6 (patch)
treedf32d588d1edcaff2606694776f1299a70acd621 /src/nativewindow
parentb5910f18f0b82a8a1f6f6252dc19971d5e487f39 (diff)
Findbugs.synchronization: Fix double-check w/o volatile; Remove redundant synchronized from setter
Diffstat (limited to 'src/nativewindow')
-rw-r--r--src/nativewindow/classes/jogamp/nativewindow/windows/GDIUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nativewindow/classes/jogamp/nativewindow/windows/GDIUtil.java b/src/nativewindow/classes/jogamp/nativewindow/windows/GDIUtil.java
index 8203a804b..31e85dcee 100644
--- a/src/nativewindow/classes/jogamp/nativewindow/windows/GDIUtil.java
+++ b/src/nativewindow/classes/jogamp/nativewindow/windows/GDIUtil.java
@@ -40,7 +40,7 @@ public class GDIUtil implements ToolkitProperties {
private static final String dummyWindowClassNameBase = "_dummyWindow_clazz" ;
private static RegisteredClassFactory dummyWindowClassFactory;
- private static boolean isInit = false;
+ private static volatile boolean isInit = false;
/**
* Called by {@link NativeWindowFactory#initSingleton()}