test/tools/javac/annotations/6214965/T6214965.java

changeset 2707
63a9b573847d
parent 798
4868a36f6fd8
child 2893
ca5783d9a597
     1.1 --- a/test/tools/javac/annotations/6214965/T6214965.java	Tue Jan 06 14:20:47 2015 -0800
     1.2 +++ b/test/tools/javac/annotations/6214965/T6214965.java	Fri Jan 09 09:27:16 2015 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -23,9 +23,10 @@
    1.11  
    1.12  /**
    1.13   * @test
    1.14 - * @bug     6214965 6365854
    1.15 + * @bug     6214965 6365854 8068639
    1.16   * @summary Compiler crash on redefing nested annotation types
    1.17   * @compile CompilerAnnotationTest.java CompilerAnnotationTest2.java
    1.18   * @compile CompilerAnnotationTest2bad.java
    1.19 - * @compile/ref=T6214965.out -XDrawDiagnostics CompilerAnnotationTest2bad.java
    1.20 + * @compile/ref=T6214965.out -XDrawDiagnostics -Xlint:classfile CompilerAnnotationTest2bad.java
    1.21 + * @compile -Werror CompilerAnnotationTest2bad.java
    1.22   */

mercurial