Integrated: JDK-8290901: Reduce use of -source in langtools tests

Joe Darcy darcy at openjdk.org
Fri Jul 29 17:38:38 UTC 2022


On Sat, 23 Jul 2022 02:29:56 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> To a first approximation, this change replaces use of "-source", where possible, with the preferable "--release" javac option. (There are cases where this swap is not desirable, such as when newer library features are being used in the test.)
> 
> A few unneeded uses of -source were removed entirely.
> 
> I'll update copyrights before any push.

This pull request has now been integrated.

Changeset: cc2861a9
Author:    Joe Darcy <darcy at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cc2861a993c5c9926e4e9708d5b229c2a0072ca9
Stats:     128 lines in 81 files changed: 0 ins; 20 del; 108 mod

8290901: Reduce use of -source in langtools tests

Reviewed-by: jjg

-------------

PR: https://git.openjdk.org/jdk/pull/9622


More information about the compiler-dev mailing list