test/langtools/tools/javac/switchextra/SwitchStatementArrow.java
changeset 59021 cfc7bb9a5a92
parent 53878 4584d0331318
--- a/test/langtools/tools/javac/switchextra/SwitchStatementArrow.java	Mon Nov 11 17:43:10 2019 -0800
+++ b/test/langtools/tools/javac/switchextra/SwitchStatementArrow.java	Tue Nov 12 06:32:13 2019 +0000
@@ -3,8 +3,8 @@
  * @bug 8206986
  * @summary Verify rule cases work properly.
  * @compile/fail/ref=SwitchStatementArrow-old.out -source 9 -Xlint:-options -XDrawDiagnostics SwitchStatementArrow.java
- * @compile --enable-preview -source ${jdk.version} SwitchStatementArrow.java
- * @run main/othervm --enable-preview SwitchStatementArrow
+ * @compile SwitchStatementArrow.java
+ * @run main SwitchStatementArrow
  */
 
 import java.util.Objects;