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

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -43,15 +43,15 @@ import java.io.File;
* @run main TestIndyStringConcat false
*
* @clean *
* @compile -XDstringConcat=inline -source 9 -target 9 TestIndyStringConcat.java
* @compile -XDstringConcat=inline TestIndyStringConcat.java
* @run main TestIndyStringConcat false
*
* @clean *
* @compile -XDstringConcat=indy -source 9 -target 9 TestIndyStringConcat.java
* @compile -XDstringConcat=indy TestIndyStringConcat.java
* @run main TestIndyStringConcat true
*
* @clean *
* @compile -XDstringConcat=indyWithConstants -source 9 -target 9 TestIndyStringConcat.java
* @compile -XDstringConcat=indyWithConstants TestIndyStringConcat.java
* @run main TestIndyStringConcat true
*/
public class TestIndyStringConcat {