RFR: 7036144: GZIPInputStream readTrailer uses faulty available() test for end-of-stream [v4]
Bernd
duke at openjdk.org
Tue Dec 19 08:14:38 UTC 2023
On Sat, 16 Dec 2023 17:48:39 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:
> If what you're saying is "Previously we were implicitly verifying that the data reported by `available()` was actually there, and now we're no longer verifying that" then that's not correct.
I mean it verified the non-zero behavior, not that the data length was correct. Not sure if that is somewhere tested now.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17113#issuecomment-1862300414
More information about the core-libs-dev
mailing list