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

@ -104,7 +104,7 @@ public class GZIPInputStream
public GZIPInputStream(InputStream in)
throws IOException
{
this(in, 512);
this(in, 4096);
}
/**