diff options
author | Sven Gothel <[email protected]> | 2011-09-23 15:35:38 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-23 15:35:38 +0200 |
commit | c8cd39fbe077ebf0a4785750752135f26e4a94ab (patch) | |
tree | 3292360447fcfcf460acfa196214d5a0d1c407be /src/java/com/jogamp/common/jvm | |
parent | 609e649443f900116039cda7a1bc7c9359b0242f (diff) |
Better DEBUG output
Diffstat (limited to 'src/java/com/jogamp/common/jvm')
-rw-r--r-- | src/java/com/jogamp/common/jvm/JNILibLoaderBase.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java b/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java index bb0860a..348fb54 100644 --- a/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java +++ b/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java @@ -87,7 +87,7 @@ public class JNILibLoaderBase { loadLibraryInternal(libname); addLoaded(libname); if(DEBUG) { - System.err.println("JNILibLoaderBase loaded "+libname); + System.err.println("JNILibLoaderBase: loaded "+libname); } } catch (UnsatisfiedLinkError e) { res = false; @@ -124,7 +124,7 @@ public class JNILibLoaderBase { public static void addLoaded(String libName) { loaded.add(libName); if(DEBUG) { - System.err.println("JNILibLoaderBase Loaded Native Library: "+libName); + System.err.println("JNILibLoaderBase: Loaded Native Library: "+libName); } } @@ -147,15 +147,15 @@ public class JNILibLoaderBase { try { URL jarUrlRoot = JarUtil.getJarURLDirname( JarUtil.getJarURL( classFromJavaJar.getName(), cl ) ); if(DEBUG) { - System.err.println("addNativeJarLibs: "+nativeJarBaseName+": url-root "+jarUrlRoot); + System.err.println("JNILibLoaderBase: addNativeJarLibs: "+nativeJarBaseName+": url-root "+jarUrlRoot); } URL nativeJarURL = JarUtil.getJarURL(jarUrlRoot, nativeJarName); if(DEBUG) { - System.err.println("addNativeJarLibs: "+nativeJarBaseName+": nativeJarURL "+nativeJarURL); + System.err.println("JNILibLoaderBase: addNativeJarLibs: "+nativeJarBaseName+": nativeJarURL "+nativeJarURL); } JarFile nativeJar = JarUtil.getJarFile(nativeJarURL, cl); if(DEBUG) { - System.err.println("addNativeJarLibs: "+nativeJarBaseName+": nativeJar "+nativeJar.getName()); + System.err.println("JNILibLoaderBase: addNativeJarLibs: "+nativeJarBaseName+": nativeJar "+nativeJar.getName()); } return TempJarCache.addNativeLibs(classFromJavaJar, nativeJar); } catch (IOException ioe) { @@ -258,17 +258,17 @@ public class JNILibLoaderBase { final String fullLibraryName = TempJarCache.findLibrary(libraryName); if(null != fullLibraryName) { if(DEBUG) { - System.err.println("JNILibLoaderBase.loadLibraryInternal("+libraryName+") -> System.load("+fullLibraryName+") (TempJarCache)"); + System.err.println("JNILibLoaderBase: loadLibraryInternal("+libraryName+") -> System.load("+fullLibraryName+") (TempJarCache)"); } System.load(fullLibraryName); return; // done } else if(DEBUG) { - System.err.println("JNILibLoaderBase.loadLibraryInternal("+libraryName+") -> TempJarCache not mapped"); + System.err.println("JNILibLoaderBase: loadLibraryInternal("+libraryName+") -> TempJarCache not mapped"); } } // System.err.println("sun.boot.library.path=" + Debug.getProperty("sun.boot.library.path", false)); if(DEBUG) { - System.err.println("JNILibLoaderBase.loadLibraryInternal("+libraryName+") -> System.loadLibrary("+libraryName+")"); + System.err.println("JNILibLoaderBase: loadLibraryInternal("+libraryName+") -> System.loadLibrary("+libraryName+")"); } System.loadLibrary(libraryName); } |