[jdk13u-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 11:13:15 UTC 2021


On Wed, 20 Oct 2021 06:03:17 GMT, Alexey Pavlyutkin <duke at openjdk.java.net> wrote:

> I'd like to backport JDK-8190753 to jdk13u for parity with jdk15u.
> 
> The original patch applied with minor changes:
> 
> - eliminated using of unsupported instanceof pattern matching feature
> 
> 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/jdk13u-dev/pull/275


More information about the jdk-updates-dev mailing list