Integrated: 8290359: Ensure that all directory streams are closed in jdk.link

Ryan Ernst duke at openjdk.org
Thu Jul 21 06:24:08 UTC 2022


On Fri, 15 Jul 2022 16:18:17 GMT, Ryan Ernst <duke at openjdk.org> wrote:

> This commit adds try-with-resources for uses of Stream<Path> from Files
> methods that walk directories.

This pull request has now been integrated.

Changeset: 3582fd9e
Author:    Ryan Ernst <ryan at iernst.net>
Committer: Chris Hegarty <chegar at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3582fd9e93d9733c6fdf1f3848e0a093d44f6865
Stats:     69 lines in 3 files changed: 17 ins; 4 del; 48 mod

8290359: Ensure that all directory streams are closed in jdk.link

Reviewed-by: chegar

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

PR: https://git.openjdk.org/jdk/pull/9520


More information about the core-libs-dev mailing list