1.1 --- a/test/tools/javac/typeAnnotations/failures/common/arrays/DuplicateAnnotationValue.java Thu Oct 28 13:31:55 2010 -0700 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,14 +0,0 @@ 1.4 -/* 1.5 - * @test /nodynamiccopyright/ 1.6 - * @bug 6843077 6919944 1.7 - * @summary check for duplicate annotation values 1.8 - * @author Mahmood Ali 1.9 - * @compile/fail/ref=DuplicateAnnotationValue.out -XDrawDiagnostics -source 1.7 DuplicateAnnotationValue.java 1.10 - */ 1.11 -class DuplicateAnnotationValue { 1.12 - void test() { 1.13 - String @A(value = 2, value = 1) [] s; 1.14 - } 1.15 -} 1.16 - 1.17 -@interface A { int value(); }