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) ======================================================================
|