equal
deleted
inserted
replaced
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8223305 |
26 * @bug 8223305 |
27 * @summary Verify correct warnings w.r.t. yield |
27 * @summary Verify correct warnings w.r.t. yield |
28 * @compile/ref=WarnWrongYieldTest.out -source 13 -XDrawDiagnostics -XDshould-stop.at=ATTR WarnWrongYieldTest.java |
28 * @compile/ref=WarnWrongYieldTest.out -source ${jdk.version} -XDrawDiagnostics -XDshould-stop.at=ATTR WarnWrongYieldTest.java |
29 */ |
29 */ |
30 |
30 |
31 package t; |
31 package t; |
32 |
32 |
33 //ERROR - type called yield: |
33 //ERROR - type called yield: |