hg: jdk8/tl/langtools: 8006547: Repeating annotations: No Target on container annotation with all targets on base annotation gives compiler error

joel.franck at oracle.com joel.franck at oracle.com
Wed Mar 13 14:04:41 PDT 2013


Changeset: eb0198033c5c
Author:    jfranck
Date:      2013-03-13 22:03 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/eb0198033c5c

8006547: Repeating annotations: No Target on container annotation with all targets on base annotation gives compiler error
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/annotations/repeatingAnnotations/DefaultTarget.java
+ test/tools/javac/annotations/repeatingAnnotations/DefaultTargetTypeParameter.java
+ test/tools/javac/annotations/repeatingAnnotations/DefaultTargetTypeParameter.out
+ test/tools/javac/annotations/repeatingAnnotations/DefaultTargetTypeUse.java
+ test/tools/javac/annotations/repeatingAnnotations/DefaultTargetTypeUse.out
+ test/tools/javac/annotations/repeatingAnnotations/NoTargetOnContainer.java
+ test/tools/javac/annotations/repeatingAnnotations/NoTargetOnContainer2.java



More information about the serviceability-dev mailing list