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:
parent
e7a9b208d9
commit
3580a7d585
@ -1,3 +1,9 @@
|
||||
2003-06-19 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* java/util/zip/InflaterInputStream.java
|
||||
(InflaterInputStream): Throw NullPointerException if in is null (as
|
||||
JDK does).
|
||||
|
||||
2003-06-19 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* java/awt/Font.java
|
||||
|
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user