commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IO-216) Delete files quietly when an exception is thrown during initialization
Date Tue, 28 Sep 2010 12:36:43 GMT

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

Niall Pemberton updated IO-216:
-------------------------------

              Summary: Delete files quietly when an exception is thrown during initialization
 (was: LockableFileWriter fails to report lock file deletion failure)
             Assignee: Niall Pemberton
        Fix Version/s: 2.0
    Affects Version/s: 1.4

> Delete files quietly when an exception is thrown during initialization
> ----------------------------------------------------------------------
>
>                 Key: IO-216
>                 URL: https://issues.apache.org/jira/browse/IO-216
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Streams/Writers
>    Affects Versions: 1.4
>            Reporter: Sebb
>            Assignee: Niall Pemberton
>             Fix For: 2.0
>
>         Attachments: IO-216-deleteQuietly.patch
>
>
> LockableFileWriter fails to report lock file deletion failure - it calls lockFile.delete()
several times but fails to check the return code.
> N.B. IIRC, file.delete() returns false if there was no file to delete, so any fix needs
to take this into account.

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