summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/os
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-10-26 02:16:31 +0100
committerSven Gothel <[email protected]>2014-10-26 02:16:31 +0100
commit785af7ed26b18d5c85e40e525859ac65deb37017 (patch)
tree8e6c0e91f70ee57fdf208725662327c71954cd26 /src/java/com/jogamp/common/os
parent6f5b67d998b1be9b49584bbb55814d10fe55e813 (diff)
Refine ExceptionUtils: Shorten method name, dumpThrowable uses dumpStack
Diffstat (limited to 'src/java/com/jogamp/common/os')
-rw-r--r--src/java/com/jogamp/common/os/NativeLibrary.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/os/NativeLibrary.java b/src/java/com/jogamp/common/os/NativeLibrary.java
index e54f5e6..c70bdbd 100644
--- a/src/java/com/jogamp/common/os/NativeLibrary.java
+++ b/src/java/com/jogamp/common/os/NativeLibrary.java
@@ -56,6 +56,7 @@ import jogamp.common.os.PlatformPropsImpl;
import jogamp.common.os.PosixDynamicLinkerImpl;
import jogamp.common.os.WindowsDynamicLinkerImpl;
+import com.jogamp.common.ExceptionUtils;
import com.jogamp.common.util.IOUtil;
import com.jogamp.common.util.cache.TempJarCache;
@@ -284,7 +285,7 @@ public final class NativeLibrary implements DynamicLookupHelper {
dynLink.closeLibrary(handle);
if (DEBUG) {
System.err.println("NativeLibrary.close(): Successfully closed " + this);
- Thread.dumpStack();
+ ExceptionUtils.dumpStack(System.err);
}
}