On Mon, 29 Dec 2025 23:29:11 GMT, Alexey Semenyuk <[email protected]> wrote:
> - Replace `Files.newInputStream(path)` in chain method calls with either `new > ByteArrayInputStream(Files.readAllBytes(path))` or `path.toFile()` if there > is an alternative method taking a `File` instance instead of an `InputStream` > and if appropriate. > - Add missing try-with-resources for `Class.getResourceAsStream()` calls. This pull request has now been integrated. Changeset: 74faf033 Author: Alexey Semenyuk <[email protected]> URL: https://git.openjdk.org/jdk/commit/74faf033127ab3a5e28be75b91e662c589f81084 Stats: 45 lines in 7 files changed: 20 ins; 8 del; 17 mod 8374819: jpackage and jpackage tests leave some I/O streams unclosed Reviewed-by: almatvee ------------- PR: https://git.openjdk.org/jdk/pull/29007
