2003-06-19 Michael Koch <konqueror@gmx.de>
* java/util/zip/InflaterInputStream.java (InflaterInputStream): Throw NullPointerException if in is null (as JDK does). From-SVN: r68197
This commit is contained in:
committed by
Michael Koch
parent
e7a9b208d9
commit
3580a7d585
@@ -73,6 +73,10 @@ public class InflaterInputStream extends FilterInputStream
|
||||
public InflaterInputStream (InputStream in, Inflater infl, int bufsize)
|
||||
{
|
||||
super (in);
|
||||
|
||||
if (in == null)
|
||||
throw new NullPointerException();
|
||||
|
||||
this.inf = infl;
|
||||
this.buf = new byte[bufsize];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user