equal
deleted
inserted
replaced
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8206986 |
26 * @bug 8206986 |
27 * @summary Check definite (un)assignment for in switch expressions. |
27 * @summary Check definite (un)assignment for in switch expressions. |
28 * @compile --enable-preview -source 12 ExpressionSwitchDA.java |
28 * @compile --enable-preview -source 13 ExpressionSwitchDA.java |
29 * @run main/othervm --enable-preview ExpressionSwitchDA |
29 * @run main/othervm --enable-preview ExpressionSwitchDA |
30 */ |
30 */ |
31 |
31 |
32 public class ExpressionSwitchDA { |
32 public class ExpressionSwitchDA { |
33 public static void test1() { |
33 public static void test1() { |