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
CheckedInputStream.java
CheckedOutputStream.java
Checksum.java
CRC32.java
DataFormatException.java
Deflater.java
DeflaterOutputStream.java DeflaterOutputStream.java (deflate): Loop while def.needsInput. 2001-04-01 14:28:45 -07:00
GZIPInputStream.java
GZIPOutputStream.java
Inflater.java
InflaterInputStream.java
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
ZipEntry.java
ZipException.java
ZipFile.java
ZipInputStream.java
ZipOutputStream.java DeflaterOutputStream.java (deflate): Loop while def.needsInput. 2001-04-01 14:28:45 -07:00