[11u] RFR: 8229887: (zipfs) zip file corruption when replacing an existing STORED entry

Aleksey Shipilev shade at redhat.com
Fri Sep 6 08:36:26 UTC 2019


On 9/5/19 12:26 PM, Langer, Christoph wrote:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8229887
> Original Change: https://hg.openjdk.java.net/jdk/jdk/rev/abf6ee4c477c
> Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8229887.11u.0/

Backport looks good.

> The original patch applies cleanly but the method java.nio.file.FileSystems::newFileSystem(Path
> path) that is used in the test was only introduced in JDK13. So I have to fallback to
> java.nio.file.FileSystems:: newFileSystem(Path path, ClassLoader loader) at these places (lines
> 123, 163 and 195 of UpdateEntryTest). With this modification, the test passes.
Have you tried if the new test fails without the product patch?

-- 
Thanks,
-Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190906/15b6a3bc/signature.asc>


More information about the nio-dev mailing list