Community
Participate
Working Groups
I20050104-1600 + jdt.core from HEAD public class Test { Object o= new HashMap<?, ?>[0]; } The source range of the VariableDeclarationFragment is: "o= new HashMap<?" Expected: "o= new HashMap<?, ?>[0]" Maybe related to the error in the JLS3 grammar (15.10 Array Creation Expressions), which would not allow wildcards as type arguments there.
No the bug is when I retrieve the semi-colon or comma position that ends the fragment. Fixed and released in HEAD. Regression test added in ASTConverter15Test.
Verified in I20050215-2300