test/langtools/tools/javac/switchextra/SwitchArrowBrokenConstant.java
changeset 53023 6879069d9d94
parent 51563 de411d537aae
child 53878 4584d0331318
--- a/test/langtools/tools/javac/switchextra/SwitchArrowBrokenConstant.java	Thu Dec 13 17:01:15 2018 +0100
+++ b/test/langtools/tools/javac/switchextra/SwitchArrowBrokenConstant.java	Thu Dec 13 19:06:11 2018 +0100
@@ -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 {