2010-09-07 17:33:43 +01:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 6970584
|
|
|
|
* @summary Flow.java should be more error-friendly
|
|
|
|
* @author mcimadamore
|
|
|
|
*
|
2016-07-11 15:27:52 -07:00
|
|
|
* @compile/fail/ref=FailOver08.out -XDrawDiagnostics -Xshouldstop:at=FLOW -XDdev FailOver08.java
|
2010-09-07 17:33:43 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
class Test extends Test {
|
|
|
|
Integer x = 1;
|
|
|
|
{ while (x) {}; }
|
|
|
|
}
|