[jdk17u-dev] RFR: 7036144: GZIPInputStream readTrailer uses faulty available() test for end-of-stream [v2]

Todd V. Jonker duke at openjdk.org
Fri Dec 19 21:42:08 UTC 2025


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

Looks good in GHA, and I've also had good results from testing tiers1-2 on my M4 MacBook.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3667#issuecomment-3676711285


More information about the jdk-updates-dev mailing list