equal
deleted
inserted
replaced
23 |
23 |
24 /** |
24 /** |
25 * @test |
25 * @test |
26 * @bug 8220018 |
26 * @bug 8220018 |
27 * @summary Verify that try-catch-finally inside a switch expression works properly. |
27 * @summary Verify that try-catch-finally inside a switch expression works properly. |
28 * @compile --enable-preview -source ${jdk.version} TryCatchFinally.java |
28 * @compile TryCatchFinally.java |
29 * @run main/othervm --enable-preview TryCatchFinally |
29 * @run main TryCatchFinally |
30 */ |
30 */ |
31 public class TryCatchFinally {//TODO: yield <double> |
31 public class TryCatchFinally {//TODO: yield <double> |
32 public static void main(String[] args) { |
32 public static void main(String[] args) { |
33 for (int p1 = 0; p1 < 2; p1++) { |
33 for (int p1 = 0; p1 < 2; p1++) { |
34 for (int p2 = 0; p2 < 2; p2++) { |
34 for (int p2 = 0; p2 < 2; p2++) { |