RFR: 8265152: jpackage cleanup fails on Windows with IOException deleting msi
herrick at openjdk.java.net
Mon Apr 19 12:55:45 UTC 2021
On Sun, 18 Apr 2021 12:44:17 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:
> 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.
thanks - works like a charm
Marked as reviewed by herrick (Reviewer).
More information about the core-libs-dev