Skip to content

Commit 44c29d8

Browse files
committed
Fix desync of exception tracking
1 parent 317e74b commit 44c29d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/org/jetbrains/java/decompiler/modules/decompiler/deobfuscator/ExceptionDeobfuscator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,8 @@ public static void insertDummyExceptionHandlerBlocks(ControlFlowGraph graph, Byt
439439

440440
for (BasicBlock succ : handler.getSuccExceptions()) {
441441
newBlock.addSuccessorException(succ);
442+
var excRange = graph.getExceptionRange(succ, handler);
443+
excRange.getProtectedRange().add(newBlock);
442444
}
443445
}
444446

0 commit comments

Comments
 (0)