Harmony
  1. Harmony
  2. HARMONY-517

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

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

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development