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

Goetz Lindenmaier goetz at openjdk.org
Fri Jul 4 10:38:44 UTC 2025


On Thu, 19 Jun 2025 19:24:36 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

Hi @toddjonker 
Have you tested anything besides the jtreg tests mentioned above?
This change modifies behaviour, this might have negative side effects, especially on the many working installations that receive this update.  Oracle tried to backport, but they didn't deliver it.  Usually, they have a good reason for this.  
Do we need to rush this backport?  I would rather defer it to the next (January) release to get experience with the change in 21. People can go to 21 or soon 25 if they have an issue.

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

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


More information about the jdk-updates-dev mailing list