United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4679743 : Additional Compressed Streams Requested

Details
Type:
Enhancement
Submit Date:
2002-05-03
Status:
Resolved
Updated Date:
2006-04-01
Project Name:
JDK
Resolved Date:
2006-04-01
Component:
core-libs
OS:
generic,windows_2000
Sub-Component:
java.util.jar
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.0,6
Fixed Versions:

Related Reports

Sub Tasks

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

Will be considered for future releases.


###@###.### 2002-05-25
                                     
2002-05-25
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



Hardware and Software, Engineered to Work Together