You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Eric Charles (JIRA)" <se...@james.apache.org> on 2012/07/18 14:07:35 UTC
[jira] [Updated] (JAMES-1310) Return value of File.[delete|mkdir]
is ignored
[ https://issues.apache.org/jira/browse/JAMES-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Charles updated JAMES-1310:
--------------------------------
Fix Version/s: (was: 3.0-beta4)
3.0-beta5
> Return value of File.[delete|mkdir] is ignored
> ----------------------------------------------
>
> Key: JAMES-1310
> URL: https://issues.apache.org/jira/browse/JAMES-1310
> Project: JAMES Server
> Issue Type: Bug
> Affects Versions: 3.0-beta3
> Environment: All
> Reporter: Felix Knecht
> Assignee: Felix Knecht
> Fix For: 3.0-beta5
>
>
> In various places we use java.io.File.[delete|mkdir] without respecting the return value. File.delete e.g. may just return false if the file/directory can't be deleted/created because of any other reason than a SecurityException [1].
> In case the return value is false an IOException should be thrown
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org