Suppress "Inconsistent inner class entries" error when decompiling
parent
640e1b4721
commit
3318a15cc5
|
@ -105,7 +105,14 @@ public abstract class AbstractFernFlowerDecompiler implements LoomDecompiler {
|
||||||
spec.getMainClass().set(fernFlowerExecutor().getName());
|
spec.getMainClass().set(fernFlowerExecutor().getName());
|
||||||
spec.jvmArgs("-Xms200m", "-Xmx3G");
|
spec.jvmArgs("-Xms200m", "-Xmx3G");
|
||||||
spec.setArgs(args);
|
spec.setArgs(args);
|
||||||
spec.setErrorOutput(System.err);
|
spec.setErrorOutput(new ConsumingOutputStream(line -> {
|
||||||
|
if (line.startsWith("Inconsistent inner class entries")) {
|
||||||
|
// Suppress this
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
System.err.println(line);
|
||||||
|
}));
|
||||||
spec.setStandardOutput(new ConsumingOutputStream(line -> {
|
spec.setStandardOutput(new ConsumingOutputStream(line -> {
|
||||||
if (line.startsWith("Listening for transport") || !line.contains("::")) {
|
if (line.startsWith("Listening for transport") || !line.contains("::")) {
|
||||||
System.out.println(line);
|
System.out.println(line);
|
||||||
|
|
Loading…
Reference in New Issue