RFR: 8240349: jlink should not leave partial image output directory on failure [v2]

Alan Bateman alanb at openjdk.java.net
Wed Jun 9 06:18:13 UTC 2021


On Tue, 8 Jun 2021 14:29:38 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

>> jlink should clean up output directory on any failure. should not leave partially filled output.
>
> Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed resouce closing issue for lib/moduls file. Pre-existing output directory should not be deleted when exiting.

New version looks good.

Good spot by Jorn that ImageFileCreator wasn't closing.

-------------

Marked as reviewed by alanb (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/4386


More information about the core-libs-dev mailing list