Integrated: 8265152: jpackage cleanup fails on Windows with IOException deleting msi
ysuenaga at openjdk.java.net
Tue Apr 20 01:22:07 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.
This pull request has now been integrated.
Author: Yasumasa Suenaga <ysuenaga at openjdk.org>
Stats: 6 lines in 1 file changed: 6 ins; 0 del; 0 mod
8265152: jpackage cleanup fails on Windows with IOException deleting msi
Reviewed-by: herrick, asemenyuk
More information about the core-libs-dev