2003-02-11 John Leuner <jewel@debian.org>
* java/util/zip/ZipInputStream.java: idem
From-SVN: r62754
+2003-02-11 John Leuner <jewel@debian.org>
+
+ * java/util/zip/ZipInputStream.java: idem
+
2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
* java/io/natFileDescriptorWin32.cc
/* java.util.zip.ZipInputStream
- Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath.
*/
public int read(byte[] b, int off, int len) throws IOException
{
+ if (len == 0)
+ return 0;
if (crc == null)
throw new IOException("Stream closed.");
if (entry == null)