RFR JDK-8076641: getNextEntry throws ArrayIndexOutOfBoundsException when unzipping file

Xueming Shen xueming.shen at oracle.com
Fri Apr 3 22:24:15 UTC 2015


Please help review the changeset for

issue: https://bugs.openjdk.java.net/browse/JDK-8076641
webrev: http://cr.openjdk.java.net/~sherman/8076641/webrev/

It appears there is zip tool over there that purposely doesn't generate the complete
NTFS timestamp in loc table (while it does generate the correct one in cen header),
probably to save some bytes.

The proposed change here is to simply ignore those "data blocks" during extra data
parsing, if no enough valid data embedded.


More information about the core-libs-dev mailing list