summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/ReflectionUtil.java
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/util/ReflectionUtil.java
parent6f5b67d998b1be9b49584bbb55814d10fe55e813 (diff)
Refine ExceptionUtils: Shorten method name, dumpThrowable uses dumpStack
Diffstat (limited to 'src/java/com/jogamp/common/util/ReflectionUtil.java')
-rw-r--r--src/java/com/jogamp/common/util/ReflectionUtil.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/util/ReflectionUtil.java b/src/java/com/jogamp/common/util/ReflectionUtil.java
index 9e716b8..7e8ae63 100644
--- a/src/java/com/jogamp/common/util/ReflectionUtil.java
+++ b/src/java/com/jogamp/common/util/ReflectionUtil.java
@@ -48,6 +48,7 @@ import java.util.Set;
import jogamp.common.Debug;
+import com.jogamp.common.ExceptionUtils;
import com.jogamp.common.JogampRuntimeException;
public final class ReflectionUtil {
@@ -140,7 +141,7 @@ public final class ReflectionUtil {
System.err.printf("ReflectionUtil.getClassImpl.%03d: %8.3f ms, init %b, [%s]@ Thread %s%n",
forNameCount, nanoCosts/1e6, initializeClazz, cnl.toString(), Thread.currentThread().getName());
if(DEBUG) {
- Thread.dumpStack();
+ ExceptionUtils.dumpStack(System.err);
}
}
return res;