-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 25
-
Component/s: core-libs
-
master
AnnotatedElement methods specify they throw NPE if they take any null argument: isAnnotationPresent, get(Declared)Annotation, get(Declared)AnnnotationsByType. AnnotatedType has implementation quality issues that it does not throw NPE for isAnnotationPresent and get(Declared)Annotation.
- csr for
-
JDK-8371961 Missing null check in AnnotatedType annotation accessor methods
-
- Closed
-
- relates to
-
JDK-8371953 Document null handling in core reflection APIs
-
- In Progress
-
- links to
-
Commit(master)
openjdk/jdk/b6d83eda
-
Review(master)
openjdk/jdk/28341