-
Bug
-
Resolution: Fixed
-
P4
-
8, 11, 17, 21, 22
-
b14
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
Javadoc tool outputs @Documented type annotations on primitive types as plain text without linking them.
Consider the example:
-------------------------------------
// Example.java
import java.lang.annotation.*;
public class Example {
@Documented
@Target(ElementType.TYPE_USE)
public @interface Anno { }
public void method(@Anno Object value) { }
public void method(@Anno int value) { }
}
-------------------------------------
The Javadoc tool writes @Anno as hyperlink in method(Object) but as plain text in method(int).
FREQUENCY : always
Javadoc tool outputs @Documented type annotations on primitive types as plain text without linking them.
Consider the example:
-------------------------------------
// Example.java
import java.lang.annotation.*;
public class Example {
@Documented
@Target(ElementType.TYPE_USE)
public @interface Anno { }
public void method(@Anno Object value) { }
public void method(@Anno int value) { }
}
-------------------------------------
The Javadoc tool writes @Anno as hyperlink in method(Object) but as plain text in method(int).
FREQUENCY : always
- links to
-
Commit openjdk/jdk/2cf35246
-
Review(master) openjdk/jdk/18179