-
Bug
-
Resolution: Fixed
-
P4
-
None
The AnnotationParser throws a NullPointerException upon parsing an annotation member that is itself an annotation value where the annotation type is itself not defined as an annotation type during runtime. This should yield an IncompatibleClassChangeError. The exception occurs due to "parseAnnotation2" returning null upon encountering an incompatible value. The calling code does however not check for this condition and attempts the generation of a proxy for the incompatible annotation of the value's result by calling result.getClass() what yields that exception.
The null pointer indicates that the value itself cannot be described as an annotation value such that the proxy should be built on the annotation property type.
The null pointer indicates that the value itself cannot be described as an annotation value such that the proxy should be built on the annotation property type.
- csr for
-
JDK-8265097 AnnotationParser throws NullPointerException on incompatible member type
- Closed
- relates to
-
JDK-8265591 Remove vestiges of intermediate JSR 175 annotation format
- Resolved