View | Details | Raw Unified | Return to bug 26129
Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/ast/TryStatement.java (+5 lines)
Lines 522-525 Link Here
522
		}
522
		}
523
		visitor.endVisit(this, blockScope);
523
		visitor.endVisit(this, blockScope);
524
	}
524
	}
525
	
526
	public void resetStateForCodeGeneration() {
527
528
		this.subRoutineStartLabel.resetStateForCodeGeneration();
529
	}	
525
}
530
}
(-)compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java (+4 lines)
Lines 3489-3494 Link Here
3489
	}
3489
	}
3490
}
3490
}
3491
final public void jsr(Label lbl) {
3491
final public void jsr(Label lbl) {
3492
	if (this.wideMode) {
3493
		this.jsr_w(lbl);
3494
		return;
3495
	}
3492
	countLabels = 0;
3496
	countLabels = 0;
3493
	try {
3497
	try {
3494
		position++;
3498
		position++;
(-)compiler/org/eclipse/jdt/internal/compiler/codegen/ResetStateForCodeGenerationVisitor.java (-1 / +6 lines)
Lines 11-16 Link Here
11
package org.eclipse.jdt.internal.compiler.codegen;
11
package org.eclipse.jdt.internal.compiler.codegen;
12
12
13
import org.eclipse.jdt.internal.compiler.AbstractSyntaxTreeVisitorAdapter;
13
import org.eclipse.jdt.internal.compiler.AbstractSyntaxTreeVisitorAdapter;
14
import org.eclipse.jdt.internal.compiler.ast.*;
14
import org.eclipse.jdt.internal.compiler.ast.BranchStatement;
15
import org.eclipse.jdt.internal.compiler.ast.BranchStatement;
15
import org.eclipse.jdt.internal.compiler.ast.DoStatement;
16
import org.eclipse.jdt.internal.compiler.ast.DoStatement;
16
import org.eclipse.jdt.internal.compiler.ast.ForStatement;
17
import org.eclipse.jdt.internal.compiler.ast.ForStatement;
Lines 51-56 Link Here
51
		branchStatement.resetStateForCodeGeneration();
52
		branchStatement.resetStateForCodeGeneration();
52
		return true;
53
		return true;
53
	}
54
	}
54
	
55
56
	public boolean visit(TryStatement tryStatement, BlockScope scope) {
57
		tryStatement.resetStateForCodeGeneration();
58
		return true;
59
	}	
55
}
60
}
56
61

Return to bug 26129