summaryrefslogtreecommitdiffstats
path: root/src/nativewindow
diff options
context:
space:
mode:
Diffstat (limited to 'src/nativewindow')
-rw-r--r--src/nativewindow/classes/com/sun/nativewindow/impl/NativeLibLoaderBase.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nativewindow/classes/com/sun/nativewindow/impl/NativeLibLoaderBase.java b/src/nativewindow/classes/com/sun/nativewindow/impl/NativeLibLoaderBase.java
index 0be1f77..980f270 100644
--- a/src/nativewindow/classes/com/sun/nativewindow/impl/NativeLibLoaderBase.java
+++ b/src/nativewindow/classes/com/sun/nativewindow/impl/NativeLibLoaderBase.java
@@ -48,6 +48,8 @@ import java.security.PrivilegedAction;
import java.util.HashSet;
public class NativeLibLoaderBase {
+ private static boolean DEBUG = true;
+
public interface LoaderAction {
/**
* Loads the library specified by libname. Optionally preloads the libraries specified by
@@ -70,6 +72,7 @@ public class NativeLibLoaderBase {
System.loadLibrary(preload[i]);
}
catch (UnsatisfiedLinkError e) {
+ if(DEBUG) e.printStackTrace();
if (!preloadIgnoreError && e.getMessage().indexOf("already loaded") < 0) {
throw e;
}