[jdk15u-dev] RFR: 8190753: (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream
Yuri Nesterenko
yan at openjdk.java.net
Tue Oct 26 12:03:09 UTC 2021
On Tue, 19 Oct 2021 18:49:22 GMT, Alexey Pavlyutkin <duke at openjdk.java.net> wrote:
> I'd like to backport JDK-8190753 to jdk15u for parity with jdk17u.
>
> The original patch applied with minor changes:
>
> - eliminated using of instanceof pattern matching feature that is disabled bt default
>
> The functionality was tested with accompanying
>
> ./test/jdk/jdk/nio/zipfs/LargeCompressedEntrySizeTest.java
> ./test/jdk/jdk/nio/zipfs/ZipFSOutputStreamTest.java
>
> Regression: jdk_tier2
Marked as reviewed by yan (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk15u-dev/pull/116
More information about the jdk-updates-dev
mailing list