Community
Participate
Working Groups
The recovered statement is not properly converted inside the AST converter. The positions are wrong. package test0629; public class X { String[] s = {"",,,}; } We look for the position of the comma or semi-colon to find where the fragment corresponding to s is ending. Doing this we don't check the balance of braces.
Fixed and released in HEAD. Added regression tests: org.eclipse.jdt.core.tests.dom.ASTConverterTestAST3_2.test0629/0630/0631
Verified for 3.2 M5 using build I20060215-0010