diff options
Diffstat (limited to 'src/main/javassist/CtBehavior.java')
-rw-r--r-- | src/main/javassist/CtBehavior.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/CtBehavior.java b/src/main/javassist/CtBehavior.java index 798ecab1..528e14b7 100644 --- a/src/main/javassist/CtBehavior.java +++ b/src/main/javassist/CtBehavior.java @@ -746,7 +746,7 @@ public abstract class CtBehavior extends CtMember { iterator.append(b.getExceptionTable(), gapPos); if (asFinally) - ca.getExceptionTable().add(0, gapPos, gapPos, 0); + ca.getExceptionTable().add(getStartPosOfBody(ca), gapPos, gapPos, 0); int gapLen = iterator.getCodeLength() - gapPos - handlerLen; int subr = iterator.getCodeLength() - gapLen; |