RFR: 8210471: GZIPInputStream constructor could leak an un-end()ed Inflater [v3]

Jaikiran Pai jpai at openjdk.org
Fri May 31 11:03:18 UTC 2024


On Fri, 31 May 2024 10:35:11 GMT, Lance Andersen <lancea at openjdk.org> wrote:

> Personally, I would have had each assertThrows as its own test, as if one fails(which should not in this case) then the rest of the assertions are never executed until the first failure is addressed.

I have now updated the PR to redo this new test to use ParameterizedTest. That way, each one will be run independent of the other. The test continues to pass after this change.

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

PR Comment: https://git.openjdk.org/jdk/pull/19475#issuecomment-2141776021


More information about the core-libs-dev mailing list