equal
deleted
inserted
replaced
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8223305 |
26 * @bug 8223305 |
27 * @summary Ensure javac is not crashing for wrong breaks. |
27 * @summary Ensure javac is not crashing for wrong breaks. |
28 * @compile/fail/ref=WrongBreakTest.out --enable-preview -source ${jdk.version} -XDrawDiagnostics -XDshould-stop.at=FLOW WrongBreakTest.java |
28 * @compile/fail/ref=WrongBreakTest.out -XDrawDiagnostics -XDshould-stop.at=FLOW WrongBreakTest.java |
29 */ |
29 */ |
30 |
30 |
31 public class WrongBreakTest { |
31 public class WrongBreakTest { |
32 |
32 |
33 void test(int i) { |
33 void test(int i) { |