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

Archie Cobbs archie.cobbs at gmail.com
Thu Mar 7 20:30:31 UTC 2024


On Thu, Mar 7, 2024 at 2:20 PM Louis Bergelson <duke at openjdk.org> wrote:

> >> `GZIPInputStream`, when looking for a concatenated stream, relies on
> what the underlying `InputStream` says is how many bytes are `available()`.
> But this is inappropriate because `InputStream.available()` is just an
> estimate and is allowed (for example) to always return zero.
>
> Hello, I just wanted to check if there was anything way I could help move
> this along.
>

Hi Louis,

Thanks for offering to help. The process is slow but moving forward and we
are getting close. Because there are implications to the specified behavior
it is being reviewed for backward compatibility, etc.

-Archie

-- 
Archie L. Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20240307/0a498948/attachment.htm>


More information about the core-libs-dev mailing list