This commit adds try-with-resources for uses of Stream<Path> 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&pr=9520&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8290359
  Stats: 73 lines in 3 files changed: 17 ins; 4 del; 52 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

Reply via email to