Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8349907

jdk.tools.jlink.internal.plugins.ZipPlugin does not close the Deflater in exceptional cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 9
    • tools
    • b11

      jdk.tools.jlink.internal.plugins.ZipPlugin is a jlink plugin. In its internal implementation in the private compress() method, it uses a java.util.zip.Deflater to deflate the content. In its current form, the implementation in that method doesn't close the Deflater instance in exceptional cases and that appears to be an oversight which should be fixed.

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

              Created:
              Updated:
              Resolved: