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

(fs) PosixFileAttributes.permissions() implementations should return an EnumSet

XMLWordPrintable

    • b23
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      POSIX file permission bits seem like the perfect application of an EnumSet. However, UnixFileAttributes.permissions() returns a HashSet, which entails unnecessary allocation and hashing.


            bpb Brian Burkhalter
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: