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

Ryan Ernst duke at openjdk.org
Fri Jul 15 19:33:57 UTC 2022


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

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

Thanks Alan. The 8 space indents were unintentional. I think I've addressed all your comments in [c0a09f9](https://github.com/openjdk/jdk/pull/9518/commits/c0a09f91be22acce0555e5a8d06023975185d307).

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

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


More information about the i18n-dev mailing list