mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Use tab character to indent stack traces
This commit is contained in:
parent
289bfc9488
commit
fecdd6613a
|
@ -160,7 +160,7 @@ public class TThrowable extends RuntimeException {
|
|||
stream.println();
|
||||
if (stackTrace != null) {
|
||||
for (TStackTraceElement element : stackTrace) {
|
||||
stream.print(" at ");
|
||||
stream.print("\tat ");
|
||||
stream.println(element);
|
||||
}
|
||||
}
|
||||
|
@ -179,7 +179,7 @@ public class TThrowable extends RuntimeException {
|
|||
stream.println();
|
||||
if (stackTrace != null) {
|
||||
for (TStackTraceElement element : stackTrace) {
|
||||
stream.print(" at ");
|
||||
stream.print("\tat ");
|
||||
stream.println(element);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -59,7 +59,7 @@ public class Deobfuscator {
|
|||
public String deobfuscate(Reader text) throws IOException {
|
||||
StringBuilder result = new StringBuilder();
|
||||
|
||||
String expectedPrefix = " at Obfuscated.obfuscated(Obfuscated.java:";
|
||||
String expectedPrefix = "\tat Obfuscated.obfuscated(Obfuscated.java:";
|
||||
int expectedPrefixPos = 0;
|
||||
boolean isInNumber = false;
|
||||
boolean expectingLineEnd = false;
|
||||
|
|
|
@ -46,7 +46,7 @@ public final class ExceptionHandling {
|
|||
while (stackFrame != null) {
|
||||
int callSiteId = ShadowStack.getCallSiteId(stackFrame);
|
||||
if (isObfuscated()) {
|
||||
Console.printString(" at Obfuscated.obfuscated(Obfuscated.java:");
|
||||
Console.printString("\tat Obfuscated.obfuscated(Obfuscated.java:");
|
||||
Console.printInt(callSiteId);
|
||||
Console.printString(")\n");
|
||||
} else {
|
||||
|
@ -56,7 +56,7 @@ public final class ExceptionHandling {
|
|||
MethodLocation methodLocation = location.method;
|
||||
|
||||
if (methodLocation != null) {
|
||||
Console.printString(" at ");
|
||||
Console.printString("\tat ");
|
||||
if (methodLocation.className == null || methodLocation.methodName == null) {
|
||||
Console.printString("(Unknown method)");
|
||||
} else {
|
||||
|
|
|
@ -221,7 +221,7 @@ class TeaVMBuild {
|
|||
}
|
||||
}
|
||||
|
||||
private class ProblemToReport {
|
||||
static class ProblemToReport {
|
||||
int line;
|
||||
int startOffset;
|
||||
int endOffset;
|
||||
|
@ -229,7 +229,7 @@ class TeaVMBuild {
|
|||
CallLocationList locations;
|
||||
}
|
||||
|
||||
private class CallLocationList {
|
||||
static class CallLocationList {
|
||||
final CallLocation value;
|
||||
final CallLocationList next;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user