Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-517

[classlib][luni] File.listFiles returns empty list but should return null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None

      Description

      On unix, if I create a directory and then change the permissions to make it unreadable ("chmod 0 dir") then File.listFiles() on that directory on RI returns null but on Harmony it returns the empty list.

        Attachments

        1. Harmony-517.diff
          1 kB
          Ruth Cao
        2. reading.chmod.0.directory.diff
          1 kB
          Mark Hindess

          Issue Links

            Activity

              People

              • Assignee:
                zakha Alexei Zakharov
                Reporter:
                hindessm Mark Hindess
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: