RFR: JDK-8265078: jpackage tests on Windows leave large temp files
herrick at openjdk.java.net
Tue Apr 13 19:03:12 UTC 2021
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).
- JDK-8265078: jpackage tests on Windows leave large temp files
Stats: 29 lines in 3 files changed: 27 ins; 0 del; 2 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3473/head:pull/3473
More information about the core-libs-dev