Community
Participate
Working Groups
20040129 In the following code, MethodRef 'HashMap#putAll(Map)' has start position 141, length 10, but it's child Name 'HashMap' has starting position 133 (length 7). package x; import java.util.HashMap; import java.util.Map; import java.util.Vector; public class AA { /** * @see HashMap#putAll(Map) */ public void foo(Vector v, Vector vd) { Map map; } }
Fixed. Member ref start position was incorrectly reset with method name start position in DocCommentParser.createMethodRef(Object, List)... Some methods written in jdt.core.tests.dom ASTConverterJavadocTest need to be modified to verify that this bug won't happen again...
Verified for 3.0M7