RFR: 8190753: (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream [v9]

Alan Bateman alanb at openjdk.java.net
Fri Jul 23 15:18:06 UTC 2021


On Fri, 23 Jul 2021 11:57:34 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> The updated version of this PR now fixes this part to open it just once. I had reviewed this `transferTo` multiple times before, but clearly I overlooked this part of the implementation.
> 
> Thank you for these inputs. The updated PR continues to pass the new tests and the existing ones in `test/jdk/jdk/nio/zipfs/`.

The updated implementation looks okay, I don't think I have any more questions.

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

PR: https://git.openjdk.java.net/jdk/pull/4607


More information about the core-libs-dev mailing list