mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
InflaterInputStream.java (read(byte[],int,int)): return -1 when fill() has no more data for the Inflater.
* java/util/zip/InflaterInputStream.java (read(byte[],int,int)): return -1 when fill() has no more data for the Inflater. From-SVN: r35963
This commit is contained in:
committed by
Mark Wielaard
parent
2f59c8eb4b
commit
309bf2960a
@@ -65,6 +65,8 @@ public class InflaterInputStream extends FilterInputStream
|
||||
return -1;
|
||||
if (inf.needsInput())
|
||||
fill ();
|
||||
if (this.len == -1)
|
||||
return -1; // Couldn't get any more data to feed to the Inflater
|
||||
if (inf.needsDictionary())
|
||||
return -1;
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user