[jdk21u-dev] Integrated: 7036144: GZIPInputStream readTrailer uses faulty available() test for end-of-stream

Todd V. Jonker duke at openjdk.org
Wed Jul 2 17:08:45 UTC 2025


On Tue, 17 Jun 2025 22:05:01 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
> 
> I believe this should be covered by CSR https://bugs.openjdk.org/browse/JDK-8340729 though (as noted there) the description and issue metadata differ regarding JDK21.
> 
> Testing:
> - [x] New regression test fails without the fix, passes with it
> - [x] linux-x86_64-server-release: headless tiers 1-3

This pull request has now been integrated.

Changeset: fcbf863f
Author:    Todd V. Jonker <jonker at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/fcbf863f4b71fe49b8883a5a2152912cde8ab72c
Stats:     111 lines in 2 files changed: 96 ins; 9 del; 6 mod

7036144: GZIPInputStream readTrailer uses faulty available() test for end-of-stream

Backport-of: d3f3011d56267360d65841da3550eca79cf1575b

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

PR: https://git.openjdk.org/jdk21u-dev/pull/1897


More information about the jdk-updates-dev mailing list