1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/javac/T6882235.java Tue Sep 15 12:20:55 2009 -0700 1.3 @@ -0,0 +1,14 @@ 1.4 +/* 1.5 + * @test /nodynamiccopyright/ 1.6 + * @bug 6882235 1.7 + * @summary invalid exponent causes silent javac crash 1.8 + * 1.9 + * @compile/fail T6882235.java 1.10 + * @compile/fail/ref=T6882235.out -XDrawDiagnostics T6882235.java 1.11 + */ 1.12 + 1.13 +class T6882235 { 1.14 + int i = ; // invalid expression 1.15 + float f = 0e*; // invalid exponent, should not crash compiler 1.16 + int j = ; // invalid expression 1.17 +}