RFR: 8250968: Symlinks attributes not preserved when using jarsigner on zip files

Seán Coffey sean.coffey at oracle.com
Wed Aug 26 18:26:22 UTC 2020

This is a follow on from the recent 8218021 fix. The jarsigner tool 
removes symlink attribute data from zipfiles when signing them. 
jarsigner should preserve this data. The fix involves preserving the 16 
bits associated with the file attributes (instead of the current 12). 
That's done in ZipFile. All other changes are just a refactor of the 
variable name.

I haven't been able to automate a test for this since zipfs doesn't seem 
to support symlinks. Manual testing looks good.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/security-dev/attachments/20200826/bb6fb707/attachment.htm>

More information about the security-dev mailing list