Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
-
Windows
Description
File.canRead() return false currently on Harmony in Windows environment if file cannot be read due to NTFS security restrictions or some other reason. RI returns true in any case.
From Javadoc spec for the canRead() method:
"Returns: true if and only if the file specified by this abstract pathname exists and can be read by the application; false otherwise"
Looks like the Harmony behavior is correct and should not be fixed.
Attachments
Issue Links
- relates to
-
HARMONY-517 [classlib][luni] File.listFiles returns empty list but should return null
- Closed