RFR: 8229887: ZIP FS cannot replace an entry in a that was added via the STORED method
Langer, Christoph
christoph.langer at sap.com
Thu Sep 5 10:42:56 UTC 2019
Hi Martin,
I agree to get this one backported soon. I can see that the change that introduced this regression (JDK-8222532) was only backported to OpenJDK 11.0.4 but not to Oracle’s 11.0.4. So we should fix it immediately and I’ve requested to target this to 11.0.5.
Thanks
Christoph
From: Martin Buchholz <martinrb at google.com>
Sent: Mittwoch, 4. September 2019 17:28
To: Alan Bateman <Alan.Bateman at oracle.com>
Cc: Langer, Christoph <christoph.langer at sap.com>; Lance Andersen <lance.andersen at oracle.com>; nio-dev <nio-dev at openjdk.java.net>
Subject: Re: RFR: 8229887: ZIP FS cannot replace an entry in a that was added via the STORED method
On Wed, Sep 4, 2019 at 12:54 AM Alan Bateman <Alan.Bateman at oracle.com<mailto:Alan.Bateman at oracle.com>> wrote:
On 04/09/2019 08:22, Langer, Christoph wrote:
Hi Lance,
thanks for your comments. I’ve requested the patches for jdk13u and jdk11u then. By default they’d reach the Jan 2020 update release, so they’ll get some time to bake in there. Actually, since this patch fixes a regression that has been introduced just recently, I could imagine that the fix would even be a candidate for the October patches. It looks quite obvious and I don’t think that there’s a huge performance risk. But I don’t want to take this decision on my own
There has been significant churn in the zipfs implementation in recent releases. Most of the changes came with regression tests but I'm concerned that we still don't have enough tests to be confident changes this code. Time stamps and zip64 are two areas where we often get bitten. I think we need to figure out how to do interop tests with other zip tools too. Improved tests would help with the confidence when changing this code and also help when there are requests for back ports.
I also tend to be cautious about backports, and I agree that zipfs testing should have been improved, but 8229887 is a serious regression - creating corrupted zip files - that should be backported ASAP.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190905/0a54e3a0/attachment-0001.html>
More information about the nio-dev
mailing list