test/tools/javac/diags/examples/TryResourceNotSupported.java

changeset 757
c44234f680da
parent 743
6a99b741a1b0
child 2525
2eb010b6cb22
equal deleted inserted replaced
756:d44d6d8493ad 757:c44234f680da
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.try.with.resources.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 -Xlint:-options
26 26
27 import java.io.*; 27 import java.io.*;
28 28
29 class TryResourceNotSupported { 29 class TryResourceNotSupported {
30 void m() { 30 void m() {

mercurial