test/langtools/tools/javac/switchexpr/WarnWrongYieldTest.java
changeset 59021 cfc7bb9a5a92
parent 55573 e709712a8188
--- a/test/langtools/tools/javac/switchexpr/WarnWrongYieldTest.java	Mon Nov 11 17:43:10 2019 -0800
+++ b/test/langtools/tools/javac/switchexpr/WarnWrongYieldTest.java	Tue Nov 12 06:32:13 2019 +0000
@@ -25,7 +25,7 @@
  * @test
  * @bug 8223305 8226522
  * @summary Verify correct warnings w.r.t. yield
- * @compile/ref=WarnWrongYieldTest.out -source ${jdk.version} -XDrawDiagnostics -XDshould-stop.at=ATTR WarnWrongYieldTest.java
+ * @compile/ref=WarnWrongYieldTest.out -Xlint:-options -source 13 -XDrawDiagnostics -XDshould-stop.at=ATTR WarnWrongYieldTest.java
  */
 
 package t;