harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3960) [classlib][luni] File.canRead() returns false if File cannot be read
Date Wed, 30 May 2007 07:21:16 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500044
] 

Alexei Zakharov commented on HARMONY-3960:
------------------------------------------

Link to the mailing list discussion about this issue:
http://mail-archives.apache.org/mod_mbox/harmony-dev/200705.mbox/%3c211709bc0705241939sf8f12f4y5316b1cc54cc4303@mail.gmail.com%3e

> [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
>            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.


Mime
View raw message