--- old/test/langtools/tools/javac/switchextra/SwitchArrowBrokenConstant.java 2018-12-11 11:17:13.190099000 -0800 +++ new/test/langtools/tools/javac/switchextra/SwitchArrowBrokenConstant.java 2018-12-11 11:17:13.018013000 -0800 @@ -3,7 +3,7 @@ * @bug 8206986 * @summary Verify reasonable errors are produced when neither ':' nor '->' * is found are the expression of a case - * @compile/fail/ref=SwitchArrowBrokenConstant.out -source 12 --enable-preview -Xlint:-preview -XDrawDiagnostics SwitchArrowBrokenConstant.java + * @compile/fail/ref=SwitchArrowBrokenConstant.out -source 13 --enable-preview -Xlint:-preview -XDrawDiagnostics SwitchArrowBrokenConstant.java */ public class SwitchArrowBrokenConstant {