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.misc.twr.not.applicable.to.type |
24 // key: compiler.misc.try.not.applicable.to.type |
25 // key: compiler.err.prob.found.req |
25 // key: compiler.err.prob.found.req |
26 |
26 |
27 class ResourceNotApplicableToType { |
27 class ResourceNotApplicableToType { |
28 void m() { |
28 void m() { |
29 try (String s = "") { |
29 try (String s = "") { |