aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/os/NativeLibrary.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-13 06:45:14 +0100
committerSven Gothel <[email protected]>2010-12-13 06:45:14 +0100
commit1d85dc612f176bf2f34c9e32f455eeb1238a4902 (patch)
tree32d262dd5ff06950d7d8d8cffcd8318449573ffe /src/java/com/jogamp/common/os/NativeLibrary.java
parent46ae62a28f75f677c697a1c175b8fb98c870f1ce (diff)
Debug: out -> err stream
Diffstat (limited to 'src/java/com/jogamp/common/os/NativeLibrary.java')
-rwxr-xr-xsrc/java/com/jogamp/common/os/NativeLibrary.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/com/jogamp/common/os/NativeLibrary.java b/src/java/com/jogamp/common/os/NativeLibrary.java
index 97aabae..2c7e596 100755
--- a/src/java/com/jogamp/common/os/NativeLibrary.java
+++ b/src/java/com/jogamp/common/os/NativeLibrary.java
@@ -181,7 +181,7 @@ public class NativeLibrary implements DynamicLookupHelper {
for (Iterator iter = possiblePaths.iterator(); iter.hasNext(); ) {
String path = (String) iter.next();
if (DEBUG) {
- System.out.println("Trying to load " + path);
+ System.err.println("Trying to load " + path);
}
ensureNativeLibLoaded();
long res;
@@ -192,14 +192,14 @@ public class NativeLibrary implements DynamicLookupHelper {
}
if (res != 0) {
if (DEBUG) {
- System.out.println("Successfully loaded " + path + ": res = 0x" + Long.toHexString(res));
+ System.err.println("Successfully loaded " + path + ": res = 0x" + Long.toHexString(res));
}
return new NativeLibrary(res, path);
}
}
if (DEBUG) {
- System.out.println("Did not succeed in loading (" + windowsLibName + ", " + unixLibName + ", " + macOSXLibName + ")");
+ System.err.println("Did not succeed in loading (" + windowsLibName + ", " + unixLibName + ", " + macOSXLibName + ")");
}
// For now, just return null to indicate the open operation didn't
@@ -275,7 +275,7 @@ public class NativeLibrary implements DynamicLookupHelper {
// from the LWJGL library
String clPath = getPathFromClassLoader(libName, loader);
if (DEBUG) {
- System.out.println("Class loader path to " + libName + ": " + clPath);
+ System.err.println("Class loader path to " + libName + ": " + clPath);
}
if (clPath != null) {
paths.add(clPath);