-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
04
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2046920 | 1.4.0 | Konstantin Kladko | P3 | Closed | Fixed | beta3 |
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)
======================================================================
- backported by
-
JDK-2046920 Fix for Bug 4475540 forces us to construct a new Deflater everytime
- Closed
- relates to
-
JDK-6223075 java.util.zip stream classes do not close default {De,In}flaters
- Resolved