You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Zakharov (JIRA)" <ji...@apache.org> on 2007/05/30 09:23:16 UTC
[jira] Closed: (HARMONY-3960) [classlib][luni] File.canRead()
returns false if File cannot be read
[ https://issues.apache.org/jira/browse/HARMONY-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov closed HARMONY-3960.
------------------------------------
Issue closed.
> [classlib][luni] File.canRead() returns false if File cannot be read
> --------------------------------------------------------------------
>
> Key: HARMONY-3960
> URL: https://issues.apache.org/jira/browse/HARMONY-3960
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib, Non-bug differences from RI
> Environment: Windows
> Reporter: Alexei Zakharov
> Assignee: Alexei Zakharov
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.