test/langtools/tools/javac/switchextra/SwitchArrowBrokenConstant.java
changeset 59021 cfc7bb9a5a92
parent 53878 4584d0331318
--- a/test/langtools/tools/javac/switchextra/SwitchArrowBrokenConstant.java	Mon Nov 11 17:43:10 2019 -0800
+++ b/test/langtools/tools/javac/switchextra/SwitchArrowBrokenConstant.java	Tue Nov 12 06:32:13 2019 +0000
@@ -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 ${jdk.version} --enable-preview -Xlint:-preview -XDrawDiagnostics SwitchArrowBrokenConstant.java
+ * @compile/fail/ref=SwitchArrowBrokenConstant.out -Xlint:-preview -XDrawDiagnostics SwitchArrowBrokenConstant.java
  */
 
 public class SwitchArrowBrokenConstant {