From ae50a206d95fbbbbb73ac4252e1af1dfe65400dd Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 6 Mar 1999 22:34:19 +0000 Subject: [PATCH] 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 --- jode/jode/flow/TransformExceptionHandlers.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jode/jode/flow/TransformExceptionHandlers.java b/jode/jode/flow/TransformExceptionHandlers.java index b387fe4..9f8914b 100644 --- a/jode/jode/flow/TransformExceptionHandlers.java +++ b/jode/jode/flow/TransformExceptionHandlers.java @@ -682,8 +682,9 @@ public class TransformExceptionHandlers { } /* Remove the jump of the throw instruction. */ - catchBlock.getSubBlocks()[1] - .jump.destination.predecessors.removeElement(catchFlow); + catchFlow.removeSuccessor + (catchBlock.getSubBlocks()[1].jump); + catchBlock.getSubBlocks()[1].removeJump(); /* Replace the catchBlock with the finallyBlock. */