--- old/test/langtools/tools/javac/switchexpr/SwitchExpressionIsNotAConstant.java 2018-12-05 13:52:35.343816149 -0800 +++ new/test/langtools/tools/javac/switchexpr/SwitchExpressionIsNotAConstant.java 2018-12-05 13:52:35.147914142 -0800 @@ -26,7 +26,7 @@ * @bug 8214113 * @summary Verify the switch expression's type does not have a constant attached, * and so the switch expression is not elided. - * @compile --enable-preview --source 12 SwitchExpressionIsNotAConstant.java + * @compile --enable-preview --source 13 SwitchExpressionIsNotAConstant.java * @run main/othervm --enable-preview SwitchExpressionIsNotAConstant */ public class SwitchExpressionIsNotAConstant {