RFR: 8373699: JLink: ModuleReader should be closed in JlinkTask.getReleaseInfo(mref)
Alan Bateman
alanb at openjdk.org
Mon Jan 26 16:52:19 UTC 2026
On Fri, 23 Jan 2026 06:57:18 GMT, Henry Jen <henryjen at openjdk.org> wrote:
> Use try-with-resource on the ModuleReader
This looks okay. Not a concern when using the `jlink` on the command line but could be an issue if using ToolProvider and invoking jlink many times.
-------------
Marked as reviewed by alanb (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29376#pullrequestreview-3706971902
More information about the core-libs-dev
mailing list