test/langtools/tools/javac/switchexpr/ExpressionSwitchEmbedding.java
changeset 59021 cfc7bb9a5a92
parent 55306 ea43db53de91
--- a/test/langtools/tools/javac/switchexpr/ExpressionSwitchEmbedding.java	Mon Nov 11 17:43:10 2019 -0800
+++ b/test/langtools/tools/javac/switchexpr/ExpressionSwitchEmbedding.java	Tue Nov 12 06:32:13 2019 +0000
@@ -25,8 +25,8 @@
  * @test
  * @bug 8214031 8214114
  * @summary Verify switch expressions embedded in various statements work properly.
- * @compile --enable-preview -source ${jdk.version} ExpressionSwitchEmbedding.java
- * @run main/othervm --enable-preview ExpressionSwitchEmbedding
+ * @compile ExpressionSwitchEmbedding.java
+ * @run main ExpressionSwitchEmbedding
  */
 
 public class ExpressionSwitchEmbedding {