-
Sub-task
-
Resolution: Delivered
-
P4
-
25
`java.util.zip.Inflater` and `java.util.zip.Deflater` now implement `AutoCloseable` and can be used with the try-with-resources statement. Applications could previously invoke the `end()` method to release the resources held by the `Inflater`/`Deflater` instance. Now, either the `end()` or the `close()` method can be invoked to do the same.