author | duke |
Wed, 05 Jul 2017 23:01:50 +0200 | |
changeset 44228 | e46434c65a2b |
parent 40835 | 6ab9ed1abc46 |
permissions | -rw-r--r-- |
6594 | 1 |
/* |
2 |
* @test /nodynamiccopyright/ |
|
3 |
* @bug 6970584 |
|
4 |
* @summary Flow.java should be more error-friendly |
|
5 |
* @author mcimadamore |
|
6 |
* |
|
40835
6ab9ed1abc46
8162546: change hidden options -Xdebug to --debug, -XshouldStop to --should-stop, and -diags to --diags
vromero
parents:
39601
diff
changeset
|
7 |
* @compile/fail/ref=FailOver13.out -XDrawDiagnostics --should-stop:at=FLOW -XDdev FailOver13.java |
6594 | 8 |
*/ |
9 |
||
10 |
class Test extends Test { |
|
11 |
||
12 |
Integer x = 1; |
|
13 |
||
14 |
{ x = (Object)o; } |
|
15 |
} |