-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 21, 25, 26
-
Component/s: hotspot
The implementation of the methods in the jdk.vm.ci.meta.Annotated interface (added by JDK-8303431) are broken in various ways:
1. Annotated.getAnnotationData(annotationType) throws `java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0` if the receiver is not annotated by annotationType.
2. Not all implementations of getAnnotationData raise IllegalArgumentException if passed an annotationType value that does not represent an annotation interface.
1. Annotated.getAnnotationData(annotationType) throws `java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0` if the receiver is not annotated by annotationType.
2. Not all implementations of getAnnotationData raise IllegalArgumentException if passed an annotationType value that does not represent an annotation interface.
- caused by
-
JDK-8303431 [JVMCI] libgraal annotation API
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/5cf349c3
-
Review(master)
openjdk/jdk/26116