On Mon, 23 Sep 2024 18:05:31 GMT, Eirik Bjørsnøs <eir...@openjdk.org> wrote:
> Please review this PR which adds test coverage for the case of reading from > an input stream obtained using`ZipFile:getInputStream` after the backing > `ZipFile` has been closed. > > The unspecified but long-standing behavior for this unusual use case is to > throw `IOException`, but this is not verified by current tests. Adding a test > would help prevent regressions in this area. > > The test is parameterized to excercise a variation of stored/deflated > entries, and a variation of read behaviors before the `ZipFile` is closed. Marked as reviewed by lancea (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/21142#pullrequestreview-2326279159