-
Type:
Sub-task
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: core-libs
Annotation access methods declared on `java.lang.reflect.AnnotatedElement` specify they throw `NullPointerException` if their argument is `null`. In prior releases, implementations of `java.lang.reflect.AnnotatedType` and its subinterfaces did not throw `NullPointerException` for `isAnnotationPresent`, `getAnnotation`, and `getDeclaredAnnotation` methods from `AnnotatedElement`. These methods now throw NullPointerException instead of returning `false` or `null` for a null argument.