summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-12-03 20:19:51 +0100
committerSven Gothel <[email protected]>2014-12-03 20:19:51 +0100
commitca4f075aeed16331f0b806ea564ca3d492039336 (patch)
treee4d2e63836362e432364056c2788f35469f17e6e
parent785af7ed26b18d5c85e40e525859ac65deb37017 (diff)
ExceptionUtils.dumpStack(..): Skip self stack entry
-rw-r--r--src/java/com/jogamp/common/ExceptionUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/ExceptionUtils.java b/src/java/com/jogamp/common/ExceptionUtils.java
index 598cc61..7e36880 100644
--- a/src/java/com/jogamp/common/ExceptionUtils.java
+++ b/src/java/com/jogamp/common/ExceptionUtils.java
@@ -34,7 +34,7 @@ import java.io.PrintStream;
*/
public class ExceptionUtils {
public static void dumpStack(final PrintStream out) {
- dumpStack(out, 0, -1);
+ dumpStack(out, 1, -1);
}
public static void dumpStack(final PrintStream out, final int skip, final int depth) {
dumpStack(out, new Exception(""), skip+1, depth);