Release Note: `java.util.zip.Inflater` and `java.util.zip.Deflater` Enhanced To Implement `AutoCloseable`

XMLWordPrintable

      `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.

            Assignee:
            Jaikiran Pai
            Reporter:
            Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: