2004-07-30 Michael Koch <konqueror@gmx.de>

* java/util/zip/GZIPInputStream.java
	(GZIPInputStream): Increase buffer size to 4k.
	* java/util/zip/GZIPOutputStream.java
	(GZIPOutputStream): Likewise.
	* java/util/zip/Inflater.java
	(setInput): Merged formating with GNU classpath.
	* java/util/zip/InflaterInputStream.java
	(InflaterInputStream): Increase buffer size to 4k.
	(fill): Throw exception if stream ends early.
	(read): Merged endless-loop with GNU classpath.
	(skip): Increase buffer size to 2k.

From-SVN: r85340
This commit is contained in:
Michael Koch 2004-07-30 17:00:34 +00:00 committed by Michael Koch
parent fbc8762793
commit f370ef24f4
5 changed files with 30 additions and 12 deletions

View file

@ -69,7 +69,7 @@ public class GZIPOutputStream extends DeflaterOutputStream
*/
public GZIPOutputStream(OutputStream out) throws IOException
{
this(out, 512);
this(out, 4096);
}
/**