11 Jan
2021
11 Jan
'21
3:16 p.m.
On Sun, 18 Oct 2020 22:21:37 GMT, Rafael Winterhalter <winterhalter@openjdk.org> wrote:
If an annotation member type is changed in an incompatible manner, the `AnnotationParser` currently throws a `NullPointerException` if:
- An enumeration-typed member is changed to be an annotation type or a `Class` type. - An annotation type is changed to be a non-annotation type.
This patch creates `AnnotationTypeMismatchExceptionProxy` to give users a better error message and to delay the exception to the time where the annotation member is attempted to be accessed.
This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.java.net/jdk/pull/725