From c9ffd9ba1a1fdc9934e517baf96c9f7959f0e5b2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 15 Jun 2009 11:05:16 +0000 Subject: 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 --- .../classes/com/sun/nativewindow/impl/NativeLibLoaderBase.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/nativewindow') 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); + } } } -- cgit v1.2.3