<i18n dev> RFR: 8290316: Ensure that all directory streams are closed in java.base

Ryan Ernst duke at openjdk.org
Fri Jul 15 16:16:37 UTC 2022


This commit guards uses of Files methods returning path streams in
java.base to use try-with-resources.

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

Commit messages:
 - 8290316: Ensure that all directory streams are closed in java.base

Changes: https://git.openjdk.org/jdk/pull/9518/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9518&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8290316
  Stats: 52 lines in 5 files changed: 12 ins; 7 del; 33 mod
  Patch: https://git.openjdk.org/jdk/pull/9518.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9518/head:pull/9518

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


More information about the i18n-dev mailing list