remove jump of throw in finally block completely

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@329 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 4070ffa5a2
commit ae50a206d9
  1. 5
      jode/jode/flow/TransformExceptionHandlers.java

@ -682,8 +682,9 @@ public class TransformExceptionHandlers {
} }
/* Remove the jump of the throw instruction. /* Remove the jump of the throw instruction.
*/ */
catchBlock.getSubBlocks()[1] catchFlow.removeSuccessor
.jump.destination.predecessors.removeElement(catchFlow); (catchBlock.getSubBlocks()[1].jump);
catchBlock.getSubBlocks()[1].removeJump();
/* Replace the catchBlock with the finallyBlock. /* Replace the catchBlock with the finallyBlock.
*/ */

Loading…
Cancel
Save