langtools/test/tools/javac/failover/FailOver02.java
author duke
Wed, 05 Jul 2017 23:01:50 +0200
changeset 44228 e46434c65a2b
parent 40835 6ab9ed1abc46
permissions -rw-r--r--
Merge

/*
 * @test /nodynamiccopyright/
 * @bug 6970584
 * @summary Flow.java should be more error-friendly
 * @author mcimadamore
 *
 * @compile/fail/ref=FailOver02.out -XDrawDiagnostics --should-stop:at=FLOW -XDdev FailOver02.java
 */

class Test implements AutoCloseable {
    void test() {
        try(Test t = null) {}
    }
}