Community
Participate
Working Groups
Using M7 (Build I20050513-1415) The following code creates "missing tag for parameter" and "missing tag for return type" warnings for the getStuff() method implementation, even though the tags are there in the interface. If I change the method not to be generic by removing the type parameter, the warning disappears. // file test/IStuff.java package test; import java.util.List; /** interface */ public interface IStuff { /** * @param <T> * @param stuffClass * @return stuff */ public <T extends Object> List<T> getStuff(Class<T> stuffClass); } // file test/MyStuff.java package test; import java.util.List; /** test class */ public class MyStuff implements IStuff { /** * @see test.IStuff#getStuff(java.lang.Class) */ public <T> List<T> getStuff(Class<T> stuffClass) { return null; } }
Fixed and release in HEAD. Javadoc resolution used binding equality instead of compatibility. Change this behavior to see if methods declaring class and parameters are compatible. [jdt-core internal] Changes done in Javdoc.resolve(MethodScope). Test cases added in JavadocTest_1_5, JavadocTest_1_4 and JavadocTest_1_3
*** Bug 96597 has been marked as a duplicate of this bug. ***
Verified in I20050526-2000