RFR: 8290359: Ensure that all directory streams are closed in jdk.link
Ryan Ernst
duke at openjdk.org
Fri Jul 15 16:24:35 UTC 2022
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
More information about the core-libs-dev
mailing list