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

GZIPInputStream doesn't call end()

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      GZIPInputStream doesn't call end(). Since the class injects an inflater object. Per the Inflater class the end() method won't be called on close(). Previously it was called in finalize(), but since then finalize has been removed as it was not a good solution. After this removal of finalize() there is comment in the Inflater/InflaterInputStream class stating subclasses should explicitly call end() method on close, when injecting inflater object to the constructor. GZIPInputStream still fails to do this in the OpenJDK and JDK 1.8


      FREQUENCY : always


            lancea Lance Andersen
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: