JDK-4679743 : Additional Compressed Streams Requested
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 1.4.0,6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_2000
  • CPU: generic,x86
  • Submitted: 2002-05-03
  • Updated: 2017-05-16
  • Resolved: 2006-04-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 6
6 b79Fixed
Description
Name: gm110360			Date: 05/03/2002


FULL PRODUCT VERSION :
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b91)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b91, mixed mode)


FULL OPERATING SYSTEM VERSION : Microsoft Windows 2000
[Version 5.00.2195]

SP2

ADDITIONAL OPERATING SYSTEMS : All



A DESCRIPTION OF THE PROBLEM :
There are input streams to read data, There's an input
stream to inflate while reading compressed data, but
there's no input stream to deflate while reading
uncompressed data.  Likewise, there's no output stream that
will inflate while writing compressed data.

All examples showing how to compress data before sending
over a network assume you have an output stream that you
can use to send data over.  If instead, you need to send
data as packets or using a third party API, there's no easy
way to do so unless you write your own DeflaterInputStream
and InflaterOutputStream.  It seems like these should be
part of the java.util.zip package.

This bug can be reproduced always.
(Review ID: 144798) 
======================================================================

Comments
EVALUATION A dicussion on this bug and suggested fix can be found at http://jdk-collaboration.dev.java.net/servlets/ProjectForumMessageView?forumID=1463&messageID=10636
2006-01-14

EVALUATION Will be considered for future releases. ###@###.### 2002-05-25
2002-05-25