diff options
| author | Bryce McKinlay <bryce@gcc.gnu.org> | 2000-11-29 10:37:40 +0000 |
|---|---|---|
| committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2000-11-29 10:37:40 +0000 |
| commit | db45aaa6918235ba9f7ad694a0dbbcde4c303d4b (patch) | |
| tree | 652c21dc183cef8885c67dc2152df5ee6a2e5a12 /libjava/java | |
| parent | d02bc1fb258dcb43215c0d671237c0dbbb74c4b9 (diff) | |
| download | gcc-db45aaa6918235ba9f7ad694a0dbbcde4c303d4b.zip gcc-db45aaa6918235ba9f7ad694a0dbbcde4c303d4b.tar.gz gcc-db45aaa6918235ba9f7ad694a0dbbcde4c303d4b.tar.bz2 | |
Check this.len, not len, when determining if there is no more input data.
From-SVN: r37847
Diffstat (limited to 'libjava/java')
| -rw-r--r-- | libjava/java/util/zip/InflaterInputStream.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/util/zip/InflaterInputStream.java b/libjava/java/util/zip/InflaterInputStream.java index d7459eb..e712d19 100644 --- a/libjava/java/util/zip/InflaterInputStream.java +++ b/libjava/java/util/zip/InflaterInputStream.java @@ -89,7 +89,7 @@ public class InflaterInputStream extends FilterInputStream count = inf.inflate(buf, off, len); if (count == 0) { - if (len == -1) + if (this.len == -1) return -1; // Couldn't get any more data to feed to the Inflater if (inf.needsDictionary()) throw new ZipException ("Inflater needs Dictionary"); |
