test/langtools/tools/javac/switchexpr/ExhaustiveEnumSwitch.java
changeset 59021 cfc7bb9a5a92
parent 53878 4584d0331318
--- a/test/langtools/tools/javac/switchexpr/ExhaustiveEnumSwitch.java	Mon Nov 11 17:43:10 2019 -0800
+++ b/test/langtools/tools/javac/switchexpr/ExhaustiveEnumSwitch.java	Tue Nov 12 06:32:13 2019 +0000
@@ -25,9 +25,9 @@
  * @test
  * @bug 8206986
  * @summary Verify that an switch expression over enum can be exhaustive without default.
- * @compile --enable-preview -source ${jdk.version} ExhaustiveEnumSwitch.java
+ * @compile ExhaustiveEnumSwitch.java
  * @compile ExhaustiveEnumSwitchExtra.java
- * @run main/othervm --enable-preview ExhaustiveEnumSwitch
+ * @run main ExhaustiveEnumSwitch
  */
 
 public class ExhaustiveEnumSwitch {