test/langtools/tools/javac/switchexpr/WarnWrongYieldTest.java
changeset 55382 30b1b7b4dd86
parent 55306 ea43db53de91
child 55573 e709712a8188
--- a/test/langtools/tools/javac/switchexpr/WarnWrongYieldTest.java	Thu Jun 13 18:02:18 2019 +0200
+++ b/test/langtools/tools/javac/switchexpr/WarnWrongYieldTest.java	Tue Jun 11 16:45:20 2019 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8223305
  * @summary Verify correct warnings w.r.t. yield
- * @compile/ref=WarnWrongYieldTest.out -source 13 -XDrawDiagnostics -XDshould-stop.at=ATTR WarnWrongYieldTest.java
+ * @compile/ref=WarnWrongYieldTest.out -source ${jdk.version} -XDrawDiagnostics -XDshould-stop.at=ATTR WarnWrongYieldTest.java
  */
 
 package t;