Community
Participate
Working Groups
Using v_749, the following code produces an Internal compiler error. public class X { public static void main(String[] args) { try { System.out.println(args.length); } catch(Exception[] e) { // ignore } } } or: public class X { public static void main(String[] args) { try { System.out.println(args.length); } catch(int e) { // ignore } } }
Created attachment 64450 [details] Proposed fix
Created attachment 64451 [details] Regression tests
Released for 3.3M7. Regression tests added org.eclipse.jdt.core.tests.compiler.regression.TryStatementTest.test059() org.eclipse.jdt.core.tests.compiler.regression.TryStatementTest.test060()
Verified for 3.3 M7 using build I20070427-0010