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

java.util.zip stream classes do not close default {De,In}flaters

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.3.1_16
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic

      Description

      The fix for 4499542 was backported from 1.4 to 1.3.1_04, but the backport was
      incomplete. The usesDefaultDeflater field is never set, so the close() method
      never invokes the underlying deflater's end() method. This causes native
      memory to be retained until the deflater is finalized. Since finalization is
      never guaranteed, native OutOfMemoryErrors can occur under heavy load.

      This bug only exists in 1.3.1.

      ###@###.### 2005-1-28 20:22:26 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hgodugusunw Harsha Godugu (Inactive)
                Reporter:
                mr Mark Reinhold
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: