--- old/test/langtools/tools/javac/switchexpr/ExpressionSwitchInfer.java 2018-12-05 13:52:30.866055986 -0800 +++ new/test/langtools/tools/javac/switchexpr/ExpressionSwitchInfer.java 2018-12-05 13:52:30.670153979 -0800 @@ -2,7 +2,7 @@ * @test /nodynamiccopyright/ * @bug 8206986 * @summary Check types inferred for switch expressions. - * @compile/fail/ref=ExpressionSwitchInfer.out -XDrawDiagnostics --enable-preview -source 12 ExpressionSwitchInfer.java + * @compile/fail/ref=ExpressionSwitchInfer.out -XDrawDiagnostics --enable-preview -source 13 ExpressionSwitchInfer.java */ import java.util.ArrayList;