JDK-8290901 : Reduce use of -source in langtools tests
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-07-23
  • Updated: 2024-03-14
  • Resolved: 2022-07-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 20
17.0.12-oracleFixed 20 b09Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
As a refactoring to the langtools regression tests, many uses of javac's -source and/or -target options should be replaced with --release (or eliminated entirely).
Comments
Fix request [17u] I backport this for parity with 17.0.12-oracle. No risk, only a test change. Clean backport except for one test not in 17. Marked clean. Tests pass. SAP nightly testing passed.
14-03-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/2297 Date: 2024-03-13 15:36:36 +0000
13-03-2024

Changeset: cc2861a9 Author: Joe Darcy <darcy@openjdk.org> Date: 2022-07-29 17:35:22 +0000 URL: https://git.openjdk.org/jdk/commit/cc2861a993c5c9926e4e9708d5b229c2a0072ca9
29-07-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/9622 Date: 2022-07-23 02:29:56 +0000
23-07-2022