Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
-
b115
-
Verified
Description
With an @Inheritable and @Repeatable annotation Ann and with the class declarations below, B3.getAnnotationsByType and C3.getAnnotationsByType should not return the annotations of B1 resp. C1.
@Ann(10) @Ann(11)
class B1 {}
@Ann(20)
class B2 extends B1 {}
class B3 extends B2 {}
@Ann(10)
class C1 {}
@Ann(20) @Ann(21)
class C2 extends C1 {}
class C3 extends C2 {}
See http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-October/022455.html for further details.
@Ann(10) @Ann(11)
class B1 {}
@Ann(20)
class B2 extends B1 {}
class B3 extends B2 {}
@Ann(10)
class C1 {}
@Ann(20) @Ann(21)
class C2 extends C1 {}
class C3 extends C2 {}
See http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-October/022455.html for further details.