[jdk17u-dev] RFR: 8295176: some langtools test pollutes source tree

Goetz Lindenmaier goetz at openjdk.org
Wed Jan 29 07:19:35 UTC 2025


I backport this for parity with 17.0.15-oracle

I had to resolve both java files as "[8173605: Remove support for source and target 1.7 option in javac](https://github.com/openjdk/jdk/commit/2d18dda3f2074a4f8b9a0c62ece9ac6d5284e93b)" is not in 17.

With some luck this is clean nevertheless.

I think it's ok to raise the tested version to 11 as the change does. 
But the fix described in the bug title is achieved by adding the -d . in the command when 
javac is called through the API.

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

Commit messages:
 - Backport 71aa8210910dbafe30eccc772eaa7747f46be0cd

Changes: https://git.openjdk.org/jdk17u-dev/pull/3249/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3249&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8295176
  Stats: 7 lines in 3 files changed: 2 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3249.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3249/head:pull/3249

PR: https://git.openjdk.org/jdk17u-dev/pull/3249


More information about the jdk-updates-dev mailing list