langtools/test/tools/javac/diags/examples/TryResourceNotSupported.java
changeset 7211 163fe60f63de
parent 6149 48de3564aa13
child 7335 8b390fd27190
equal deleted inserted replaced
7210:8dd5f907461e 7211:163fe60f63de
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 // key: compiler.err.automatic.resource.management.not.supported.in.source
    24 // key: compiler.err.try.with.resources.not.supported.in.source
    25 // options: -source 1.6
    25 // options: -source 1.6
    26 
    26 
    27 import java.io.*;
    27 import java.io.*;
    28 
    28 
    29 class TryResourceNotSupported {
    29 class TryResourceNotSupported {