author | mchung |
Wed, 27 May 2015 13:25:18 -0700 | |
changeset 30846 | 2b3f379840f0 |
parent 30716 | 1bbdff43424d |
permissions | -rw-r--r-- |
3894 | 1 |
/* |
2 |
* @test /nodynamiccopyright/ |
|
3 |
* @bug 6882235 |
|
4 |
* @summary invalid exponent causes silent javac crash |
|
5 |
* |
|
6 |
* @compile/fail/ref=T6882235.out -XDrawDiagnostics T6882235.java |
|
7 |
*/ |
|
8 |
||
9 |
class T6882235 { |
|
10 |
int i = ; // invalid expression |
|
11 |
float f = 0e*; // invalid exponent, should not crash compiler |
|
12 |
int j = ; // invalid expression |
|
13 |
} |