test/langtools/tools/javac/switchexpr/WrongBreakTest.java
changeset 59021 cfc7bb9a5a92
parent 55306 ea43db53de91
--- a/test/langtools/tools/javac/switchexpr/WrongBreakTest.java	Mon Nov 11 17:43:10 2019 -0800
+++ b/test/langtools/tools/javac/switchexpr/WrongBreakTest.java	Tue Nov 12 06:32:13 2019 +0000
@@ -25,7 +25,7 @@
  * @test
  * @bug 8223305
  * @summary Ensure javac is not crashing for wrong breaks.
- * @compile/fail/ref=WrongBreakTest.out --enable-preview -source ${jdk.version} -XDrawDiagnostics -XDshould-stop.at=FLOW WrongBreakTest.java
+ * @compile/fail/ref=WrongBreakTest.out -XDrawDiagnostics -XDshould-stop.at=FLOW WrongBreakTest.java
  */
 
 public class WrongBreakTest {