RFR: 8058520: jar xf does not work on zip files with leading garbage.

Martin Buchholz martinrb at google.com
Wed Sep 17 18:42:26 UTC 2014


On Tue, Sep 16, 2014 at 9:03 AM, Xueming Shen <xueming.shen at oracle.com>
wrote:

>
> 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
> individual entries
> from the cen table.
>
>
I think I have a couple of brain cells with dim memories of that.


> It appears you will have to flip a coin to see which case is more
> "important"?
>

"Why not both?"

Implemented in my latest webrev.  Hopefully maximal efficiency and maximal
support for leading garbage.



More information about the core-libs-dev mailing list