Project: JDT
Bug 15404 surround with try/catch: should check more before asking
Reported: 2002-05-07 09:00:57 | Status: resolved fixed

20020502+ package p; class Test{ void m(){ /*[*/int i= 1; }; }/*]*/ try surrounging you'asked 'catch RuntimeException?' and then it turns out that it cannot be done anyway. it should maybe check before asking me

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithTryCatchAnalyzer.java