test/langtools/tools/javac/diags/examples/VarInTryWithResourcesNotSupportedInSource.java
equal
deleted
inserted
replaced
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.var.in.try.with.resources.not.supported.in.source |
24 // key: compiler.err.feature.not.supported.in.source.plural |
|
25 // key: compiler.misc.feature.var.in.try.with.resources |
25 // key: compiler.warn.source.no.bootclasspath |
26 // key: compiler.warn.source.no.bootclasspath |
26 // options: -source 8 |
27 // options: -source 8 |
27 |
28 |
28 class VarInTryWithResourcesNotSupportedInSource { |
29 class VarInTryWithResourcesNotSupportedInSource { |
29 void m() { |
30 void m() { |