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

Fix for Bug 4475540 forces us to construct a new Deflater everytime

    Details

    • Subcomponent:
    • Resolved In Build:
      04
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description



        Name: nt126004 Date: 09/04/2001


        java version "1.4.0-beta2"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
        Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)


          Fix for bug 4475540 that went into 1.4 beta 2 broke our code
        that tried to reuse a Deflater object in different DeflaterOutputStreams.
        (DeflaterOutputStream.close now calls end() on the Deflater object that
        was passed into it on the constructor.)
        So it appears that you are forcing us to make a new Deflater everytime
        we want to use one with DeflaterOutputStream.
        If that is the case why is there Deflater.reset() or even a public Deflater
        class for that matter?
        (Review ID: 131342)
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kkladkosunw Konstantin Kladko (Inactive)
                  Reporter:
                  nthompsosunw Nathanael Thompson (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: