8290901: Reduce use of -source in langtools tests

Reviewed-by: jjg
This commit is contained in:
Joe Darcy 2022-07-29 17:35:22 +00:00
parent 64a1a08ff9
commit cc2861a993
81 changed files with 108 additions and 128 deletions

View file

@ -5,7 +5,7 @@
* @author Tim Hanson, BEA
*
* @compile Conditional.java
* @compile/fail/ref=Conditional.out -XDrawDiagnostics -source 7 -Xlint:-options Conditional.java
* @compile/fail/ref=Conditional.out -XDrawDiagnostics --release 7 -Xlint:-options Conditional.java
*/
import java.util.*;