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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: