Community
Participate
Working Groups
Using latest, the position for the "new<String>...." doesn't include the new keyword. This is wrong. public class Test { public <U> Test(U u) { } void bar() { new <String> Test(null) {}; } } The positions of the ClassInstanceCreation should include the new keyword. For now, the corresponding source is "<String> Test(null) {}" instead of: "new <String> Test(null) {}". The corresponding method binding doesn't have a java element.
I will investigate.
Created attachment 16616 [details] Apply on HEAD Missing positions in the Parser has a side-effect on the AST converter.
Created attachment 16622 [details] Apply on HEAD Add regression tests
Created attachment 16623 [details] Apply on HEAD
Fixed and released in HEAD. Regression test added in ASTConverter15Test.
Verified in 200412160010