[11u] RFR: 8229887: (zipfs) zip file corruption when replacing an existing STORED entry
Langer, Christoph
christoph.langer at sap.com
Thu Sep 5 10:26:53 UTC 2019
Hi,
may I please get a review for the backport of this item to jdk11 updates:
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/
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.
Thanks
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190905/27e8d0a9/attachment.html>
More information about the nio-dev
mailing list