RFR: 8332872: SetupExecute should cd to temp directory
Magnus Ihse Bursie
ihse at openjdk.org
Fri Sep 5 15:42:26 UTC 2025
Some commands create junk files all around in the current directory. We should change directory to a special working dir (typically the support dir) in SetupExecute, before running any command.
-------------
Commit messages:
- Merge branch 'master' into execute-in-work-dir
- Jmod workaround did not help; try this instead
- Remove debug code
- Separate support dir for each jmod
- 8332872: SetupExecute should cd to temp directory
Changes: https://git.openjdk.org/jdk/pull/27103/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27103&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8332872
Stats: 101 lines in 5 files changed: 86 ins; 0 del; 15 mod
Patch: https://git.openjdk.org/jdk/pull/27103.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27103/head:pull/27103
PR: https://git.openjdk.org/jdk/pull/27103
More information about the build-dev
mailing list