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

Xueming Shen xueming.shen at oracle.com
Thu Sep 18 17:38:15 UTC 2014


On 09/17/2014 11:42 AM, Martin Buchholz wrote:
>
>
> On Tue, Sep 16, 2014 at 9:03 AM, Xueming Shen <xueming.shen at oracle.com <mailto: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.

looks good.



More information about the core-libs-dev mailing list