Community
Participate
Working Groups
20060427 In the following code the last statement is unreachable. The error range however is only the variable name. Would better be the full statement. public class E { public String getName() { try{ return "fred"; } catch (Exception e){ return e.getLocalizedMessage(); } int i= 9; } } In the second example the method invocation is highlighted. Probably better to highlight the full statement. public class E { public String getName() { try{ return "fred"; } catch (Exception e){ return e.getLocalizedMessage(); } System.err.print("wow"); } }
Created attachment 58122 [details] Proposed fix
Created attachment 58560 [details] Complete fix
Released for 3.3M6. Updated existing regression tests.
Verified for 3.3 M6 using build I20070320-0010