langtools/test/tools/javac/TryWithResources/PlainTry.java
author sogoel
Thu, 05 Jun 2014 10:57:10 -0700
changeset 24797 850ebd4d80a7
parent 7335 8b390fd27190
permissions -rw-r--r--
8044072: Group 2: create .out files for OverrideChecks tests in tools/javac dir Reviewed-by: jjg

/*
 * @test  /nodynamiccopyright/
 * @bug 6911256 6964740
 * @author Joseph D. Darcy
 * @summary Test error messages for an unadorned try
 * @compile/fail/ref=PlainTry6.out -XDrawDiagnostics -source 6 -Xlint:-options PlainTry.java
 * @compile/fail/ref=PlainTry.out  -XDrawDiagnostics                           PlainTry.java
 */
public class PlainTry {
    public static void main(String... args) {
        try {
            ;
        }
    }
}