-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 25
-
Component/s: core-libs
`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.