hg: jdk/sandbox: 7183985: (ann) Class.getAnnotation() throws an ArrayStoreException when the annotation class not present
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Fri Jun 15 17:30:21 UTC 2018
Changeset: 9f4c08c444e8
Author: cushon
Date: 2018-06-14 17:32 -0700
URL: http://hg.openjdk.java.net/jdk/sandbox/rev/9f4c08c444e8
7183985: (ann) Class.getAnnotation() throws an ArrayStoreException when the annotation class not present
Reviewed-by: darcy, martin, vromero
! src/java.base/share/classes/sun/reflect/annotation/AnnotationParser.java
+ test/jdk/java/lang/annotation/Missing/MissingArrayElement/EnumToCompileAgainst.java
+ test/jdk/java/lang/annotation/Missing/MissingArrayElement/EnumToRunAgainst.java
+ test/jdk/java/lang/annotation/Missing/MissingArrayElement/MissingAnnotation.java
+ test/jdk/java/lang/annotation/Missing/MissingArrayElement/MissingAnnotationArrayElementTest.java
+ test/jdk/java/lang/annotation/Missing/MissingArrayElement/MissingClass.java
+ test/jdk/java/lang/annotation/Missing/MissingArrayElement/MissingClass2.java
+ test/jdk/java/lang/annotation/Missing/MissingArrayElement/MissingClassArrayElementTest.java
+ test/jdk/java/lang/annotation/Missing/MissingArrayElement/MissingEnumArrayElementTest.java
More information about the jdk-sandbox-changes
mailing list