< prev index next >

test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks2.java

Print this page

        

@@ -1,10 +1,10 @@
 /*
  * @test /nodynamiccopyright/
  * @bug 8206986
  * @summary Check behavior for invalid breaks.
- * @compile/fail/ref=ExpressionSwitchBreaks2.out -XDrawDiagnostics --enable-preview -source 12 ExpressionSwitchBreaks2.java
+ * @compile/fail/ref=ExpressionSwitchBreaks2.out -XDrawDiagnostics --enable-preview -source 13 ExpressionSwitchBreaks2.java
  */
 
 public class ExpressionSwitchBreaks2 {
     private String print(int i, int j) {
         LOOP: while (true) {
< prev index next >