RFR: 8058520: jar xf does not work on zip files with leading garbage.
xueming.shen at oracle.com
Tue Sep 16 16:03:48 UTC 2014
On 9/15/14 6:40 PM, Martin Buchholz wrote:
> Hi Alan, Xueming,
> I'd like you to do a code review.
> http://cr.openjdk.java.net/~martin/webrevs/openjdk9/jar-leadingGarbage/ <http://cr.openjdk.java.net/%7Emartin/webrevs/openjdk9/jar-leadingGarbage/>
It was the performance concern back then that led us to keep using the
for extracting, if it's to extract the whole zip/jar.
There is also some "regressions" reported later with the ZipFile path
when dealing with
some "wrong"/non-ZIP64-spec-compliant huge zip file, in which it's fine
to access those
entries from the beginning of the stream, but can't jump back to the
from the cen table.
It appears you will have to flip a coin to see which case is more
More information about the core-libs-dev