test/tools/javac/enum/6384542/T6384542.java

changeset 757
c44234f680da
parent 611
4172cfff05f0
child 2525
2eb010b6cb22
equal deleted inserted replaced
756:d44d6d8493ad 757:c44234f680da
1 /** 1 /**
2 * @test /nodynamiccopyright/ 2 * @test /nodynamiccopyright/
3 * @bug 6384542 3 * @bug 6384542
4 * @summary crash: test/tools/javac/versions/check.sh 4 * @summary crash: test/tools/javac/versions/check.sh
5 * @author Peter von der Ah\u00e9 5 * @author Peter von der Ah\u00e9
6 * @compile/fail -source 1.4 T6384542.java 6 * @compile/fail -source 1.4 -Xlint:-options T6384542.java
7 * @compile/fail/ref=T6384542.out -source 1.4 -XDrawDiagnostics T6384542.java 7 * @compile/fail/ref=T6384542.out -source 1.4 -Xlint:-options -XDrawDiagnostics T6384542.java
8 */ 8 */
9 9
10 import static java.lang.Math.sin; 10 import static java.lang.Math.sin;
11 11
12 public enum A { } 12 public enum A { }

mercurial