[jdk11u] RFR: 8229888: (zipfs) Updating an existing zip file does not preserve original permissions
Baesken, Matthias
matthias.baesken at sap.com
Fri Feb 28 08:53:09 UTC 2020
Hello, please review the downport of
8229888: (zipfs) Updating an existing zip file does not preserve original permissions
to jdk11u. The change is in 11.0.7-oracle so it would be good to have it in OpenJDK 11 as well.
The change touches src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java and test related files.
I had to add imports to ZipFileSystem.java, and had to adjust the test file test/jdk/jdk/nio/zipfs/ZipFSPermissionsTest.java
because jdk11 misses java.nio.file.FileSystems.newFileSystem(Path path, Map<String,?> env) .
bug :
https://bugs.openjdk.java.net/browse/JDK-8229888
original jdk/jdk change :
https://hg.openjdk.java.net/jdk/jdk/rev/798c0903fcd0
adjusted jdk11u change :
http://cr.openjdk.java.net/~mbaesken/webrevs/8229888_0_jdk11/
Thanks, Matthias
More information about the jdk-updates-dev
mailing list