This commit adds try-with-resources for uses of Stream from Files
methods that walk directories.
-
Commit messages:
- 8290359: Ensure that all directory streams are closed in jdk.link
Changes: https://git.openjdk.org/jdk/pull/9520/files
Webrev: https://webrevs.openjdk.org/?repo=jdk
On Fri, 15 Jul 2022 16:18:17 GMT, Ryan Ernst wrote:
> This commit adds try-with-resources for uses of Stream from Files
> methods that walk directories.
Changes requested by chegar (Reviewer).
src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java line 834:
> 832:
> This commit adds try-with-resources for uses of Stream from Files
> methods that walk directories.
Ryan Ernst has updated the pull request with a new target base due to a merge
or a rebase. The incremental webrev excludes the unrelated changes brought in
by the merge/rebase. The pull request c
On Mon, 18 Jul 2022 15:35:25 GMT, Chris Hegarty wrote:
>> Ryan Ernst has updated the pull request with a new target base due to a
>> merge or a rebase. The incremental webrev excludes the unrelated changes
>> brought in by the merge/rebase. The pull request contains three additional
>> commits
On Mon, 18 Jul 2022 18:22:02 GMT, Ryan Ernst wrote:
>> This commit adds try-with-resources for uses of Stream from Files
>> methods that walk directories.
>
> Ryan Ernst has updated the pull request with a new target base due to a merge
> or a rebase. The incremental webrev excludes the unrelate