hg: jdk8/tl/jdk: 8004912: Repeating annotations - getAnnotationsByType(Class<T>) is not working as expected for few inheritance scenarios; ...

joel.franck at oracle.com joel.franck at oracle.com
Tue Oct 22 03:40:00 PDT 2013


Changeset: b07856d0de34
Author:    alundblad
Date:      2013-10-22 12:35 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b07856d0de34

8004912: Repeating annotations - getAnnotationsByType(Class<T>) is not working as expected for few inheritance scenarios
8019420: Repeatable non-inheritable annotation types are mishandled by Core Reflection
Reviewed-by: jfranck

! src/share/classes/java/lang/Class.java
! src/share/classes/java/lang/reflect/Executable.java
! src/share/classes/java/lang/reflect/Field.java
! src/share/classes/java/lang/reflect/Parameter.java
! src/share/classes/sun/reflect/annotation/AnnotatedTypeFactory.java
! src/share/classes/sun/reflect/annotation/AnnotationSupport.java
! src/share/classes/sun/reflect/generics/reflectiveObjects/TypeVariableImpl.java
+ test/java/lang/annotation/repeatingAnnotations/NonInheritableContainee.java
+ test/java/lang/annotation/repeatingAnnotations/OrderUnitTest.java
! test/java/lang/annotation/repeatingAnnotations/RepeatedUnitTest.java



More information about the security-dev mailing list