Propogate AbortException. Closes #2206. Also fix tracing printstream when printStackTrace is called.

This commit is contained in:
cpw committed 2015-11-25 16:28:06 -05:00
1 parent cb2d5992d2
commit 7e5a2cb5ca
2 files changed
+13 -9

No files matched your search

@@ -44,7 +44,7 @@ public class TracingPrintStream extends PrintStream {
if (elem.getClassName().startsWith("kotlin.io.")) {
elem = elems[BASE_DEPTH + 2]; // Kotlins IoPackage masks origins 2 deeper in the stack.
} else if (elem.getClassName().startsWith("java.lang.Throwable")) {
elem = elems[BASE_DEPTH + 2];
elem = elems[BASE_DEPTH + 4];
}
return "[" + elem.getClassName() + ":" + elem.getMethodName() + ":" + elem.getLineNumber() + "]: ";
}