< prev index next >

test/langtools/tools/javac/TryWithResources/BadTwr.java

Print this page

        

*** 1,11 **** /* * @test /nodynamiccopyright/ * @bug 6911256 6964740 * @author Joseph D. Darcy * @summary Verify bad TWRs don't compile - * @compile/fail/ref=BadTwr6.out -XDrawDiagnostics -source 6 BadTwr.java * @compile/fail/ref=BadTwr.out -XDrawDiagnostics BadTwr.java */ public class BadTwr implements AutoCloseable { public static void main(String... args) { --- 1,10 ----
< prev index next >