Community
Participate
Working Groups
N20050519-0010: - Use following snippet and browse AST with AST view: import java.util.Map; class Test { public void foo() { Map<String, Number> map= new Map<String, Number>() { }; } } -> The range of the VariableDeclarationFragment covers only "map= new Map<String" (length 19). It should cover the initializer with the anonymous class declaration as well Note: This does not happen with field declarations
Fixed and released in HEAD. Regression test added in org.eclipse.jdt.core.tests.dom.ASTConverter15Test.test0182/test0183.
Verified for 3.1 RC1 with build I20050527-0010.