Community
Participate
Working Groups
BETA_JAVA7 The compiler does not show any error in the following snippet. --------------------------------- try { System.out.println(); } catch (Exception e []) { e.printStackTrace(); } --------------------------------- but shows an error for the following --------------------------------- try { System.out.println(); } catch (Exception [] e) { e.printStackTrace(); } --------------------------------- Both snippets result in an error with HEAD
I'll take a look,
Created attachment 197385 [details] Patch v0.99 This fixes the problem and includes tests. There is still some issue with source positions.
Created attachment 197397 [details] Proposed patch + tests
Thanks for the report, fix & tests released in BETA_JAVA 7 branch.
Verified using Eclipse Java 7 Support(Beta) feature patch v20110623-0900.