--- old/test/langtools/tools/javac/switchexpr/ExpressionSwitchNotExhaustive.java 2018-12-05 13:52:32.377300041 -0800 +++ new/test/langtools/tools/javac/switchexpr/ExpressionSwitchNotExhaustive.java 2018-12-05 13:52:32.189394034 -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 {