This behavior looks to go back to the original implementation of those methods. Noticed during work on
- csr for
-
JDK-8323837 TypeMirror.{getAnnotationsByType, getAnnotation} return uninformative results
-
- Closed
-
- relates to
-
JDK-8324167 Use sealed/non-sealed in javac implementation
-
- Open
-
-
JDK-8304420 Regression ~11% with Javac-Generates on all platforms in b14
-
- Resolved
-
-
JDK-8021237 clean up JavacAnnotatedConstruct
-
- Closed
-
-
JDK-8042981 Strip type annotations in Types' utility methods
-
- Closed
-
-
JDK-8007803 Implement javax.lang.model API for Type Annotations
-
- Resolved
-
- links to
-
Commit openjdk/jdk/a6c0b107
-
Review(master) openjdk/jdk/17410