equal
deleted
inserted
replaced
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.without.catch.or.finally |
24 // key: compiler.err.try.without.catch.or.finally |
25 // options: -source 1.6 |
25 // options: -source 1.6 -Xlint:-options |
26 |
26 |
27 class TryWithoutCatchOrFinally { |
27 class TryWithoutCatchOrFinally { |
28 void m() { |
28 void m() { |
29 try { |
29 try { |
30 } |
30 } |