Community
Participate
Working Groups
This happens in an overriding method which has a @see reference to its superclass method: File X.java: import java.io.IOException; public class X { public void foo() throws IOException {} } File Y.java: import java.io.IOException; public class Y extends X { /** * @throws IOException * @see X#foo() */ public void foo() throws IOException {} } Referenced class IOException in @throws tag is warned as not declared as it is obviously not true...
Since bug 47339 fix, compiler does not report missing problems in overriding method which has a @see reference to a superclass or interface corresponding method. Unfortunately test to report problems was misplaced and have this wrong side effect...
Fixed. In Javadoc.resolveThrowsTags(), reportMissing test is done just before calling method of ProblemReporter... Test case added in jdt.core.tests.compiler.regression.JavadocTestMixed
Verified for 3.0M6