-
Bug
-
Resolution: Fixed
-
P3
-
11, 13, 15
-
b29
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8248028 | 16 | Hannes Wallnoefer | P3 | Resolved | Fixed | b03 |
JDK-8250074 | 15.0.2 | Hannes Wallnoefer | P3 | Resolved | Fixed | b01 |
JDK-8250372 | 15.0.1 | Hannes Wallnoefer | P3 | Resolved | Fixed | b03 |
Code:
// Wildcard.java
import java.lang.annotation.*;
public class Wildcard<T> {
public Wildcard<@Anno ? super String> x() {return null;}
@Documented
@Target(ElementType.TYPE_USE)
public @interface Anno {}
}
javadoc Wildcard.java yields the following method signature:
public Wildcard<? super java.lang.String> x()
It's expected to have
public Wildcard<@Anno ? super java.lang.String> x()
Tried with java 11, java 13 and java 15-ea
// Wildcard.java
import java.lang.annotation.*;
public class Wildcard<T> {
public Wildcard<@Anno ? super String> x() {return null;}
@Documented
@Target(ElementType.TYPE_USE)
public @interface Anno {}
}
javadoc Wildcard.java yields the following method signature:
public Wildcard<? super java.lang.String> x()
It's expected to have
public Wildcard<@Anno ? super java.lang.String> x()
Tried with java 11, java 13 and java 15-ea
- backported by
-
JDK-8248028 Type annotation is not shown for wildcard type in Javadoc
- Resolved
-
JDK-8250074 Type annotation is not shown for wildcard type in Javadoc
- Resolved
-
JDK-8250372 Type annotation is not shown for wildcard type in Javadoc
- Resolved