Community
Participate
Working Groups
I20051206-1200 I enabled all Javadoc warnings from JDT Core and no problems get reported for org.eclipse.jface.text.DefaultInformationControl rev. 1.26 but during the releng build warnings are reported: http://download.eclipse.org/eclipse/downloads/drops/N20051208-0010/compilelogs/platform.doc.isv.javadoc.txt
Not really a duplicate of 96237. Here's the problem comes from the fact that reference is done on an inner class context to another inner class at same level. It seems that javadoc.exe is not able to use enclosing type to retrieve this kind of reference... We have to make our compiler less smarter...:-( Here's a smaller test case: /** * @see MyInnerClass * @see MyInnerClass#foo() * @see MyInnerInterface * @see MyInnerInterface#foo() */ public class Test { /** * @see MyInnerInterface * @see MyInnerInterface#foo() */ public class MyInnerClass { public void foo() {} } /** * @see MyInnerClass * @see MyInnerClass#foo() */ public interface MyInnerInterface { public void foo(); } } javadoc.exe produces following warnings: Test.java:12: warning - Tag @link: reference not found: MyInnerInterface Test.java:12: warning - Tag @link: reference not found: MyInnerInterface#foo() Test.java:19: warning - Tag @link: reference not found: MyInnerClass Test.java:19: warning - Tag @link: reference not found: MyInnerClass#foo() Note that references in first javadoc comment are not flagged as warning
We need first to fix problem with inner classes qualification before fixing this one...
Set same resolution as blocking bug
Note also that these warnings only occurs with 1.4.2 version. There's no warning at all with 1.5.0 version...
*** Bug 148968 has been marked as a duplicate of this bug. ***
Synchronize our compiler behavior on javadoc tool one. It now raises warnings when source is 1.4 and none on 1.5... Fixed and released for 3.3 M1 in HEAD stream.
Verified for 3.3 M1 using build I20060804-0010.