--- old/test/langtools/tools/javac/switchexpr/ExpressionSwitchFlow.java 2018-12-05 13:52:29.274851929 -0800 +++ new/test/langtools/tools/javac/switchexpr/ExpressionSwitchFlow.java 2018-12-05 13:52:29.066955921 -0800 @@ -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 {