You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/12/26 05:41:58 UTC

[jira] [Closed] (IMAGING-200) After using Imaging.getImageInfo(File), FileInputStream is not closed yet.

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

Gary Gregory closed IMAGING-200.
--------------------------------
    Resolution: Resolved

Fixed in current SNAPSHOT version.

> After using Imaging.getImageInfo(File), FileInputStream is not closed yet.
> --------------------------------------------------------------------------
>
>                 Key: IMAGING-200
>                 URL: https://issues.apache.org/jira/browse/IMAGING-200
>             Project: Commons Imaging
>          Issue Type: Bug
>          Components: imaging.common.*
>         Environment: Java 1.7
>            Reporter: Minh Hoang
>              Labels: common, common-imaging, imaging, windows
>
> - After using Imaging.getImageInfo(File), we tried deleting <File> .
> =>an error is displayed said that <File> is using by java plaform.
> - We tried using Imaging.getImageInfo(InputStream,FileName) and of course we close InputStream after using.
> => it's ok when deleting <File>.
> We believe Imaging.getImageInfo(File) using InputStream and is not closed yet. Please fix it for the next version.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)