1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/javac/enum/6384542/T6384542a.java Wed Apr 27 01:34:52 2016 +0800 1.3 @@ -0,0 +1,14 @@ 1.4 +/** 1.5 + * @test /nodynamiccopyright/ 1.6 + * @bug 6384542 1.7 + * @summary crash: test/tools/javac/versions/check.sh 1.8 + * @author Peter von der Ah\u00e9 1.9 + * @compile/fail -source 5 T6384542a.java 1.10 + * @compile -source 1.4 T6384542a.java 1.11 + * @compile/fail/ref=T6384542a_5.out -source 5 -Xlint:-options -XDrawDiagnostics T6384542a.java 1.12 + * @compile/ref=T6384542a_1_4.out -source 1.4 -Xlint:-options -XDrawDiagnostics T6384542a.java 1.13 + */ 1.14 + 1.15 +public class T6384542a { 1.16 + T6384542a enum = null; 1.17 +}