Index: compiler/org/eclipse/jdt/internal/compiler/ast/TryStatement.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/TryStatement.java,v --- compiler/org/eclipse/jdt/internal/compiler/ast/TryStatement.java 23 Aug 2006 15:34:14 -0000 1.99.4.1 +++ compiler/org/eclipse/jdt/internal/compiler/ast/TryStatement.java 31 Aug 2006 22:10:46 -0000 @@ -538,7 +538,7 @@ naturalExitExceptionHandler.placeEnd(); codeStream.recordPositionsFrom( position, - this.finallyBlock.sourceEnd); + this.finallyBlock.sourceEnd); break; case FINALLY_INLINE : // inlined finally here can see all merged variables @@ -550,7 +550,12 @@ // entire sequence for finally is associated to finally block this.finallyBlock.generateCode(this.scope, codeStream); if (postCatchesFinallyLabel != null && requiresCatchesExit) { + position = codeStream.position; + // entire sequence for finally is associated to finally block codeStream.goto_(postCatchesFinallyLabel); + codeStream.recordPositionsFrom( + position, + this.finallyBlock.sourceEnd); } break; case FINALLY_DOES_NOT_COMPLETE :