--- old/test/langtools/tools/javac/switchexpr/ExpressionSwitchNotExhaustive.java 2018-12-11 11:17:05.410211000 -0800 +++ new/test/langtools/tools/javac/switchexpr/ExpressionSwitchNotExhaustive.java 2018-12-11 11:17:05.234122999 -0800 @@ -2,7 +2,7 @@ * @test /nodynamiccopyright/ * @bug 8206986 * @summary Verify behavior of not exhaustive switch expressions. - * @compile/fail/ref=ExpressionSwitchNotExhaustive.out -XDrawDiagnostics --enable-preview -source 12 ExpressionSwitchNotExhaustive.java + * @compile/fail/ref=ExpressionSwitchNotExhaustive.out -XDrawDiagnostics --enable-preview -source 13 ExpressionSwitchNotExhaustive.java */ public class ExpressionSwitchNotExhaustive {