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] Resolved: (HARMONY-3960) [classlib][luni] File.canRead() returns false if File cannot be read
Date Wed, 30 May 2007 07:23:15 GMT

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

Alexei Zakharov resolved HARMONY-3960.

    Resolution: Won't Fix
      Assignee: Alexei Zakharov

It was decided not to follow RI in this case.

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

View raw message