--- 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 {