RFR: JDK-8290901: Reduce use of -source in langtools tests [v2]

Joe Darcy darcy at openjdk.org
Mon Jul 25 17:32:38 UTC 2022


> 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.

Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:

  Update copyrights.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9622/files
  - new: https://git.openjdk.org/jdk/pull/9622/files/63e95cfd..a375ff8b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9622&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9622&range=00-01

  Stats: 12 lines in 12 files changed: 0 ins; 0 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/9622.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9622/head:pull/9622

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


More information about the compiler-dev mailing list