[jdk17u] RFR: 8190753: (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream
Alexey Pavlyutkin
duke at openjdk.java.net
Fri Oct 22 15:11:32 UTC 2021
I'd like to backport JDK-8190753
The original patch applied cleanly
Tested with accompanying
- ./test/jdk/jdk/nio/zipfs/LargeCompressedEntrySizeTest.java
- ./test/jdk/jdk/nio/zipfs/ZipFSOutputStreamTest.java
-------------
Commit messages:
- Backport c3d8e9228d0558a2ce3e093c105c61ea7af2e1d1
Changes: https://git.openjdk.java.net/jdk17u/pull/201/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u&pr=201&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8190753
Stats: 356 lines in 3 files changed: 350 ins; 0 del; 6 mod
Patch: https://git.openjdk.java.net/jdk17u/pull/201.diff
Fetch: git fetch https://git.openjdk.java.net/jdk17u pull/201/head:pull/201
PR: https://git.openjdk.java.net/jdk17u/pull/201
More information about the jdk-updates-dev
mailing list