[jdk17u-dev] RFR: 7036144: GZIPInputStream readTrailer uses faulty available() test for end-of-stream [v2]
Jaikiran Pai
jpai at openjdk.org
Wed Jan 7 02:08:40 UTC 2026
On Wed, 17 Dec 2025 20:19:29 GMT, Todd V. Jonker <duke at openjdk.org> wrote:
>> This is a clean backport of [d3f3011](https://github.com/openjdk/jdk/commit/d3f3011d56267360d65841da3550eca79cf1575b), originally authored by @archiecobbs and reviewed by @jaikiran
>>
>> The corresponding backport for JDK21 is https://github.com/openjdk/jdk21u-dev/pull/1897
>>
>> Testing:
>> - [x] New regression test fails without the fix, passes with it
>> - [x] linux-x86_64-server-release: headless tiers 1-3
>
> Todd V. Jonker has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>
> - Merge branch 'openjdk:master' into gzip-fix
> - Backport d3f3011d56267360d65841da3550eca79cf1575b
More of a FYI - the original change was integrated in Java 23 and we now have a report of performance impact due to the change https://mail.openjdk.org/pipermail/core-libs-dev/2026-January/157091.html. It would impact this proposed backport too.
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3667#issuecomment-3717040498
More information about the jdk-updates-dev
mailing list