Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8322332

Add API to access ZipEntry.extraAttributes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      The extraAttributes field of ZipEntry represents a standard part of the zip file format, but there is no public way to read or write this field. This field is used to represent POSIX permissions and to indicate when the entry describes a symbolic link. I would find it useful to read and write these attributes.

      My use does not require the zip file system API. I would prefer to use the JDK support for reading and writing zip files, as it otherwise meets my needs.

      Because the interpretation of this field may not be fully standardized, I would suggest providing access to the uninterpreted value. I would not object to having direct access to the POSIX permissions and symlink flag.

            Unassigned Unassigned
            alans Alan Snyder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: