RFR: 8218021: jarsigner strips the execute permission when signing a .zip file

Michael Osipov 1983-01-06 at gmx.net
Fri Jan 17 11:10:53 UTC 2020


Am 2020-01-17 um 11:59 schrieb Seán Coffey:
> Hi,
> 
> Looking to introduce some JDK private functionality which will help 
> preserve internal zip file attribute permissions when jarsigner is run 
> on a zip file. Some of the logic is taken from the recent work carried 
> out in this area for zipfs API.
> 
> https://bugs.openjdk.java.net/browse/JDK-8218021
> http://cr.openjdk.java.net/~coffeys/webrev.8218021/webrev/

Make sure that the following idiom also works on tr_TR or alike:

> if (this.name.toLowerCase().endsWith(ZIP_FILE_EXT)





More information about the security-dev mailing list