summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-06-15 11:05:16 +0000
committerSven Gothel <[email protected]>2010-04-19 00:56:21 +0200
commitc9ffd9ba1a1fdc9934e517baf96c9f7959f0e5b2 (patch)
treed9530a28d17952339eca205a5ffa1ffea170043f
parentdd0301a2f37c9810c533b1d3eb7d68ca440d67c8 (diff)
Fix: JAWTUtil has to JAWTNativeLibLoader.loadAWTImpl() as well. Use NWReflection.isClassAvailable() if possible. NWReflection.getClass() takes boolean init.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1956 232f8b59-042b-4e1e-8c03-345bb8c30851
-rw-r--r--src/nativewindow/classes/com/sun/nativewindow/impl/NativeLibLoaderBase.java6
1 files changed, 6 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 aef8a13..e1427d7 100644
--- a/src/nativewindow/classes/com/sun/nativewindow/impl/NativeLibLoaderBase.java
+++ b/src/nativewindow/classes/com/sun/nativewindow/impl/NativeLibLoaderBase.java
@@ -72,6 +72,9 @@ public class NativeLibLoaderBase {
try {
System.loadLibrary(preload[i]);
addLoaded(preload[i]);
+ if(DEBUG) {
+ System.err.println("NativeLibLoaderBase preloaded "+preload[i]);
+ }
}
catch (UnsatisfiedLinkError e) {
if(DEBUG) e.printStackTrace();
@@ -84,6 +87,9 @@ public class NativeLibLoaderBase {
}
System.loadLibrary(libname);
addLoaded(libname);
+ if(DEBUG) {
+ System.err.println("NativeLibLoaderBase loaded "+libname);
+ }
}
}