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.

@sashamatveev PTAL

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

PR Comment: https://git.openjdk.org/jdk/pull/29007#issuecomment-3725191843

Reply via email to