16 lines
321 B
Java
16 lines
321 B
Java
|
/*
|
||
|
* @test /nodynamiccopyright/
|
||
|
* @bug 6970584
|
||
|
* @summary Flow.java should be more error-friendly
|
||
|
* @author mcimadamore
|
||
|
*
|
||
|
* @compile/fail/ref=FailOver12.out -XDrawDiagnostics -XDshouldStopPolicy=FLOW -XDdev FailOver12.java
|
||
|
*/
|
||
|
|
||
|
class Test extends Test {
|
||
|
|
||
|
Integer x = 1;
|
||
|
|
||
|
{ try {} catch (Exception e) {} }
|
||
|
}
|