RFR: 8225763: Inflater and Deflater should implement AutoCloseable [v4]

Jaikiran Pai jpai at openjdk.org
Fri Nov 15 11:15:30 UTC 2024


On Thu, 14 Nov 2024 20:36:45 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Hello Chen, corpus analysis shows that there are no subclasses of Inflater/Deflater which have a `close()` method.
>
> Great news!  Feel free to make their close final.

I have updated the PR to follow Roger's suggestion of marking this new `close()` method on `Inflater` and `Deflater` classes as `final`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19675#discussion_r1843608012


More information about the core-libs-dev mailing list