RFR: 8290359: Ensure that all directory streams are closed in jdk.link [v2]

Ryan Ernst duke at openjdk.org
Mon Jul 18 18:22:02 UTC 2022


> This commit adds try-with-resources for uses of Stream<Path> 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 contains three additional commits since the last revision:

 - Merge branch 'master' into try_files/jdk.link
 - fix alignment
 - 8290359: Ensure that all directory streams are closed in jdk.link
   
   This commit adds try-with-resources for uses of Stream<Path> from Files
   methods that walk directories.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9520/files
  - new: https://git.openjdk.org/jdk/pull/9520/files/f5d4fd2e..4e9eede0

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9520&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9520&range=00-01

  Stats: 1454 lines in 71 files changed: 802 ins; 379 del; 273 mod
  Patch: https://git.openjdk.org/jdk/pull/9520.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9520/head:pull/9520

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


More information about the core-libs-dev mailing list