mirror of
https://github.com/moparisthebest/fernflower
synced 2024-11-22 17:22:18 -05:00
EA-60512 (better logging)
This commit is contained in:
parent
e1d1425f22
commit
a4054817d2
@ -213,13 +213,6 @@ public class DomHelper {
|
||||
RootStatement root = graphToStatement(graph);
|
||||
|
||||
if (!processStatement(root, new HashMap<Integer, Set<Integer>>())) {
|
||||
DecompilerContext.getLogger().writeMessage("parsing failure!", IFernflowerLogger.Severity.ERROR);
|
||||
|
||||
// try {
|
||||
// DotExporter.toDotFile(root.getFirst().getStats().get(13), new File("c:\\Temp\\stat1.dot"));
|
||||
// } catch (Exception ex) {
|
||||
// ex.printStackTrace();
|
||||
// }
|
||||
throw new RuntimeException("parsing failure!");
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,6 @@ import org.jetbrains.java.decompiler.code.CodeConstants;
|
||||
import org.jetbrains.java.decompiler.code.InstructionSequence;
|
||||
import org.jetbrains.java.decompiler.main.DecompilerContext;
|
||||
import org.jetbrains.java.decompiler.main.collectors.CounterContainer;
|
||||
import org.jetbrains.java.decompiler.main.extern.IFernflowerLogger;
|
||||
import org.jetbrains.java.decompiler.modules.decompiler.StatEdge;
|
||||
import org.jetbrains.java.decompiler.modules.decompiler.StrongConnectivityHelper;
|
||||
import org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent;
|
||||
@ -463,9 +462,7 @@ public class Statement {
|
||||
}
|
||||
|
||||
if (res.size() != stats.size()) {
|
||||
DecompilerContext.getLogger().writeMessage("computing post reverse post order failed!", IFernflowerLogger.Severity.ERROR);
|
||||
|
||||
throw new RuntimeException("parsing failure!");
|
||||
throw new RuntimeException("computing post reverse post order failed!");
|
||||
}
|
||||
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user