[CAUTION] [jdk11u] RFR: 8229888: (zipfs) Updating an existing zip file does not preserve original permissions

Baesken, Matthias matthias.baesken at sap.com
Tue Mar 3 13:56:40 UTC 2020


Thanks, new webrev :

http://cr.openjdk.java.net/~mbaesken/webrevs/8229888_2_jdk11/

Best regards, Matthias


> Hi Matthias,
> 
> I think I was too quick... it should be:
> 
> FileSystems.newFileSystem(new URI("jar", zipFile.toUri().toString(), null),
> env)
> 
> You'll also have to change throws IOException to throws Exception for the zip
> method, since new URI throws URISyntaxException.
> 
> Best regards
> Christoph
> 



More information about the jdk-updates-dev mailing list