aoqi@0: /* aoqi@0: * @test /nodynamiccopyright/ aoqi@0: * @bug 6970584 aoqi@0: * @summary Flow.java should be more error-friendly aoqi@0: * @author mcimadamore aoqi@0: * aoqi@0: * @compile/fail/ref=FailOver09.out -XDrawDiagnostics -XDshouldStopPolicy=FLOW -XDdev FailOver09.java aoqi@0: */ aoqi@0: aoqi@0: class Test extends Test { aoqi@0: Integer x = 1; aoqi@0: { for (x = 0 ; x ; x++) {}; } aoqi@0: }