RFR: 8290353: Clarify the streams returned by ModuleReader::list
Ryan Ernst
duke at openjdk.org
Mon Jul 18 18:19:49 UTC 2022
On Mon, 18 Jul 2022 14:06:00 GMT, Ryan Ernst <duke at openjdk.org> wrote:
> This commit adds additional clarification to the javadocs of
> ModuleReader::list about needing to close the stream. The new wording is
> similar to that used in Files::find and other similar methods.
I relaxed the wording in [0b3ca18](https://github.com/openjdk/jdk/pull/9538/commits/0b3ca18267b4a54db7d749dba036b4618f2eb0e6) and addressed uses of list() in java.base in [a72a5b9](https://github.com/openjdk/jdk/pull/9538/commits/a72a5b9ec4e22ca4a414554b722042d4cbfaef58).
-------------
PR: https://git.openjdk.org/jdk/pull/9538
More information about the core-libs-dev
mailing list