RFR: 8265152: jpackage cleanup fails on Windows with IOException deleting msi
ysuenaga at openjdk.java.net
Sun Apr 18 15:10:15 UTC 2021
When creating an "exe" installer on Windows, `AbstractBundler.cleanup()` calls `IOUtils.deleteRecursive()` to delete the tmp directory. It can intermittently fail trying to delete the msi file.
[JDK-8263135](https://bugs.openjdk.java.net/browse/JDK-8263135) removed `unique_ptr` from jpackage sources due to compiler warnings in VS 2019 (16.9.0), so we need to release the resource manually. However `DatabaseView` didn't do that.
- 8265152: jpackage cleanup fails on Windows with IOException deleting msi
Stats: 6 lines in 1 file changed: 6 ins; 0 del; 0 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3560/head:pull/3560
More information about the core-libs-dev