We had a test setup failure in our distributed test system where the process running jtreg crashed. This caused the hs_err file to end up in the root of the source tree. Dropping crash files in the source tree is bad practice and makes it harder to find such files. We should change the current working directory to the work/output dir before launching jtreg to help avoid this situation in the future.
------------- Commit messages: - 8300339: Run jtreg in the work dir Changes: https://git.openjdk.org/jdk/pull/24452/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24452&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8300339 Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/24452.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24452/head:pull/24452 PR: https://git.openjdk.org/jdk/pull/24452