--- old/test/langtools/tools/javac/switchexpr/ExpressionSwitchIntersectionTypes.java 2018-12-11 11:17:04.765889000 -0800 +++ new/test/langtools/tools/javac/switchexpr/ExpressionSwitchIntersectionTypes.java 2018-12-11 11:17:04.581797000 -0800 @@ -25,7 +25,7 @@ * @test * @bug 8206986 * @summary Verify behavior when an intersection type is inferred for switch expression. - * @compile --enable-preview -source 12 ExpressionSwitchIntersectionTypes.java + * @compile --enable-preview -source 13 ExpressionSwitchIntersectionTypes.java * @run main/othervm --enable-preview ExpressionSwitchIntersectionTypes */