commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damjan Jovanovic (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SANSELAN-63) Audit and fix resource leaks
Date Tue, 28 Feb 2012 20:09:46 GMT

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

Damjan Jovanovic resolved SANSELAN-63.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

Audited and fixed all ByteSource.getInputStream() leaks in commit 1294807, resolving FIXED
:-).

                
> Audit and fix resource leaks
> ----------------------------
>
>                 Key: SANSELAN-63
>                 URL: https://issues.apache.org/jira/browse/SANSELAN-63
>             Project: Commons Sanselan
>          Issue Type: Bug
>    Affects Versions: 0.97
>         Environment: Windows 7, Java 1.7.0.1, 0.97-Incubator
>            Reporter: Adrian Moerchen
>             Fix For: 1.0
>
>         Attachments: 380440_295155317172029_185275861493309_985773_37867068_n.bmp, finbugs.patch
>
>
> The attached image is somehow corrupt (it still can be opened with IrfanView).
> Trying to read the image information with {{Sanselan.getImageInfo(file)}} results in
an IOException.
> After this the image is still locked on the file system, and can't be deleted for example.
I expected it to be immediately get unlocked on the file system, after the error occured.

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

        

Mime
View raw message