On Sun, 18 Apr 2021 12:44:17 GMT, Yasumasa Suenaga <ysuen...@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. Changeset: 142edd3a Author: Yasumasa Suenaga <ysuen...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/142edd3a 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 ------------- PR: https://git.openjdk.java.net/jdk/pull/3560