On Tue, 13 Apr 2021 18:57:20 GMT, Andy Herrick <herrick@openjdk.org> wrote:
two changes: One to jpackage, when recursively removing directory, when IOException occurs, record it and continue (deleting as much as possible) before throwing the exception. The other to tests, when running jpackage via ProcessBuilder.execute(), set the "TMP" environment variable to the current value of System Property "java.io.tmpdir". This causes the sub-process (jpackage) to output tmp files to the tmp file location used by the test. (So the test harness can clean up after test exits).
This pull request has now been integrated. Changeset: e1675778 Author: Andy Herrick <herrick@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/e1675778 Stats: 30 lines in 3 files changed: 28 ins; 0 del; 2 mod 8265078: jpackage tests on Windows leave large temp files Reviewed-by: asemenyuk, kcr ------------- PR: https://git.openjdk.java.net/jdk/pull/3473