jjg@309: /* jjg@384: * @test /nodynamiccopyright/ jjg@309: * @bug 6843077 jjg@309: * @summary check for Duplicate annotation value jjg@309: * @author Mahmood Ali jjg@309: * @compile/fail/ref=DuplicateAnnotationValue.out -XDrawDiagnostics -source 1.7 DuplicateAnnotationValue.java jjg@309: */ jjg@309: class DuplicateAnnotationValue { jjg@309: void test() { jjg@309: new @A String(); jjg@309: } jjg@309: } jjg@309: jjg@309: @interface A { int field(); }