RFR: JDK-8023278: Reflection API methods do not throw AnnotationFormatError in case of malformed Runtime[In]VisibleTypeAnnotations attribute
joel.franck at oracle.com
Thu Nov 21 19:50:24 UTC 2013
Please review this fix to the type annotation reflection parser. The wrong kind of exception was thrown in the case of malformed Runtime[In]VisibleTypeAnnotations .
Also the parser needed to be fixed for sign issues in a handful of places.
The test has tree broken classes encoded that tests a few of the error paths in the parser, I have also run the reproducer from JCK attached to the bug report and it passes.
More information about the core-libs-dev