test/langtools/tools/javac/switchexpr/ExpressionSwitchFlow.java
changeset 53023 6879069d9d94
parent 52635 6938c8ef179a
child 53878 4584d0331318
--- a/test/langtools/tools/javac/switchexpr/ExpressionSwitchFlow.java	Thu Dec 13 17:01:15 2018 +0100
+++ b/test/langtools/tools/javac/switchexpr/ExpressionSwitchFlow.java	Thu Dec 13 19:06:11 2018 +0100
@@ -2,7 +2,7 @@
  * @test /nodynamiccopyright/
  * @bug 8212982
  * @summary Verify a compile-time error is produced if switch expression does not provide a value
- * @compile/fail/ref=ExpressionSwitchFlow.out --enable-preview -source 12 -XDrawDiagnostics ExpressionSwitchFlow.java
+ * @compile/fail/ref=ExpressionSwitchFlow.out --enable-preview -source 13 -XDrawDiagnostics ExpressionSwitchFlow.java
  */
 
 public class ExpressionSwitchFlow {