harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-517) [classlib][luni] File.listFiles returns empty list but should return null
Date Thu, 19 Apr 2007 12:01:28 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Petrenko updated HARMONY-517:
------------------------------------

    Patch Info:   (was: [Patch Available])

Mark,

Harmony with your patch return null even in case of empty dir. But RI returns array in this
case.
So your patch can not be applied...

> [classlib][luni] File.listFiles returns empty list but should return null
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-517
>                 URL: https://issues.apache.org/jira/browse/HARMONY-517
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Mark Hindess
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>         Attachments: reading.chmod.0.directory.diff
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message