langtools/test/tools/javac/failover/FailOver12.java
author sundar
Thu, 09 Sep 2010 09:42:45 +0530
changeset 6596 3274cf9d4873
parent 6594 d43f068fba19
child 39601 5b37e511ae4b
permissions -rw-r--r--
6900149: IllegalStateException when compiling same files and DiagnosticListener is set. Reviewed-by: jjg

/*
 * @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) {} }
}