-
Bug
-
Resolution: Fixed
-
P3
-
9, 16
-
b11
Consider the following snippet:
/**
* {@link Inner#nonExistentMethod}
*/
public abstract class Outer {
private Outer() { }
/**
* This method belongs to {@code Outer} but somehow can be referenced
* through {@code Inner#nonExistentMethod}
*/
public static void nonExistentMethod() { }
interface Inner { }
}
javadoc produces documentation that actually contains a clickable (and working) link to "Outer.nonExistentMethod", though it has been referred to as "Inner#nonExistentMethod".
/**
* {@link Inner#nonExistentMethod}
*/
public abstract class Outer {
private Outer() { }
/**
* This method belongs to {@code Outer} but somehow can be referenced
* through {@code Inner#nonExistentMethod}
*/
public static void nonExistentMethod() { }
interface Inner { }
}
javadoc produces documentation that actually contains a clickable (and working) link to "Outer.nonExistentMethod", though it has been referred to as "Inner#nonExistentMethod".
- csr for
-
JDK-8325036 javadoc allows to create a @link to a non-existent method
-
- Closed
-
- is blocked by
-
JDK-8321889 JavaDoc method references with wrong (nested) type
-
- Resolved
-