summaryrefslogtreecommitdiff
path: root/java/util/zip/GZIPInputStream.java
diff options
context:
space:
mode:
authorSven de Marothy <sven@physto.se>2005-03-18 18:00:40 +0000
committerSven de Marothy <sven@physto.se>2005-03-18 18:00:40 +0000
commit341f467ad752191ef6528613fe62bf81d257c627 (patch)
treed1586598c6763d4a6e0272a9ed9ef8ea39035dae /java/util/zip/GZIPInputStream.java
parentccb28dca5c55359e247614a6d2e600269d5b2b6e (diff)
downloadclasspath-341f467ad752191ef6528613fe62bf81d257c627.tar.gz
2005-03-18 Sven de Marothy <sven@physto.se>
* java/util/zip/GZIPInputStream.java: (GZIPInputStream): Read header in constructor.
Diffstat (limited to 'java/util/zip/GZIPInputStream.java')
-rw-r--r--java/util/zip/GZIPInputStream.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/util/zip/GZIPInputStream.java b/java/util/zip/GZIPInputStream.java
index 4fe44eb65..68e9b0cdd 100644
--- a/java/util/zip/GZIPInputStream.java
+++ b/java/util/zip/GZIPInputStream.java
@@ -128,6 +128,7 @@ public class GZIPInputStream
{
super(in, new Inflater(true), size);
crc = new CRC32();
+ readHeader();
}
/**