summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/os
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/common/os')
-rwxr-xr-xsrc/java/com/jogamp/common/os/NativeLibrary.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/os/NativeLibrary.java b/src/java/com/jogamp/common/os/NativeLibrary.java
index b597635..558aa3e 100755
--- a/src/java/com/jogamp/common/os/NativeLibrary.java
+++ b/src/java/com/jogamp/common/os/NativeLibrary.java
@@ -424,7 +424,7 @@ public class NativeLibrary implements DynamicLookupHelper {
private static volatile boolean loadedDynLinkNativeLib;
public static void ensureNativeLibLoaded() {
- if (!loadedDynLinkNativeLib) {
+ if (!loadedDynLinkNativeLib) { // volatile: ok
synchronized (NativeLibrary.class) {
if (!loadedDynLinkNativeLib) {
loadedDynLinkNativeLib = true;