gcc/libjava/java/util/zip
Per Bothner f44b63ae02 DeflaterOutputStream.java (deflate): Loop while def.needsInput.
* DeflaterOutputStream.java (deflate):  Loop while def.needsInput.
	(finish):  def.deflate needs to be called in a loop.
	(inbuf, inbufLength):  New private fields.
	(write(int)): Use inbuf.
	(write(byte[],int,int):  Check if pending output in inbuf.
	* ZipOutputStream.java:  Don't use Deflater if stored.
	Use a Checksum object directly, not via a CheckedOutputStream.
	(uncompressed_size):  New field,
	(closeEntry):  Only write data_directory if needed.
	(write):  If STORED, write directly.
	Always update crc, and uncompressed_size.
	(write_entry):  Fix lots of protocol erors.

From-SVN: r40988
2001-04-01 14:28:45 -07:00
..
Adler32.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
CheckedInputStream.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
CheckedOutputStream.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
Checksum.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
CRC32.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
DataFormatException.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
Deflater.java * java/util/zip/Deflater.java (update, init): Now private. 2000-12-21 18:39:19 +00:00
DeflaterOutputStream.java DeflaterOutputStream.java (deflate): Loop while def.needsInput. 2001-04-01 14:28:45 -07:00
GZIPInputStream.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
GZIPOutputStream.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
Inflater.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
InflaterInputStream.java Check this.len, not len, when determining if there is no more input data. 2000-11-29 10:37:40 +00:00
natDeflater.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
natInflater.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
ZipConstants.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
ZipEntry.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
ZipException.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
ZipFile.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
ZipInputStream.java * java/util/zip/*.java: Javadoc and copyright updates. 2000-11-17 21:42:28 +00:00
ZipOutputStream.java DeflaterOutputStream.java (deflate): Loop while def.needsInput. 2001-04-01 14:28:45 -07:00