On Tue, 19 Jul 2022 14:07:17 GMT, Ryan Ernst <d...@openjdk.org> wrote:

> This commit ensures streams returned by ModuleReader::list are closed.

Note that ModulePatcher::list delegates to ModuleReader::list, but since the 
stream it builds closes the underlying stream, the use doesn't need to be 
closed within the list method.

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

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

Reply via email to