Andy,

Stream.close() call is missing on the result of Files.list() call.
I'd also replace Files.list(root) with Files.walk(root, 1) call to eliminate diving in directory tree.

- Alexey

On 7/15/2020 2:37 PM, Andy Herrick wrote:
Please review the jpackage fix for issue [1] at [2].

This fixes the regression in JDK16 which caused exception when an empty directory was used int the --temp jpackage option, and added to the existing test.

[1] - https://bugs.openjdk.java.net/browse/JDK-8249289

[2[ - http://cr.openjdk.java.net/~herrick/8249289/webrev.02/

/Andy


Reply via email to