jdk.internal.jimage.decompressor.ZipDecompressor does not close the Inflater in exceptional cases

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 9
    • Component/s: tools
    • b11

      jdk.internal.jimage.decompressor.ZipDecompressor is an internal class to the jimage tool. In its private decompress() method, this class instantiates an java.util.zip.Inflater and uses it to decompress the content. In its current form, the method implementation doesn't end() the Inflater instance in exception cases and that appears to be an oversight which should be fixed.

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

              Created:
              Updated:
              Resolved: