Duplicate :
|
|
Relates :
|
ZipFileInputStream's available() method incorrectly returns the full entry size in its available() method, rather than the remaining number of bytes that can be read. src/share/classes/java/util/zip/ZipFile.java: public int available() { return size; } should be: public int available() { return rem; } This is causing bug 4818574 to happen. Please see 4818574 for more details.