Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8174643 | 10 | Peter Levart | P4 | Resolved | Fixed | b01 |
JLS specifies what constitutes a valid annotation type. javac does not permit creating a class file that would be an invalid annotation type, but class files can be constructed with other tools that are valid from the perspective of bytecode verifier and later fail during accessing of annotations using those types. Depending on the sort of annotation type invalidity, such annotations experience different failures at different times. The test will capture this behavior to enable further discussion about whether some of such failure modes can be changed.
- backported by
-
JDK-8174643 Add test that captures current behavior of annotations with invalid annotation types
-
- Resolved
-
- blocks
-
JDK-8029019 (ann) Optimize annotation handling in core reflection
-
- In Progress
-