You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sascha Rodekamp (JIRA)" <ji...@apache.org> on 2011/09/15 16:03:09 UTC

[jira] [Commented] (OFBIZ-4420) IO stream objects are not closed

    [ https://issues.apache.org/jira/browse/OFBIZ-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105376#comment-13105376 ] 

Sascha Rodekamp commented on OFBIZ-4420:
----------------------------------------

Jap that looks good, but we should keep in mind, when moving to Java7 that we refactor this code and use the try-with-resources statements (Just a reminder). 
http://download.oracle.com/javase/7/docs/technotes/guides/language/try-with-resources.html

> IO stream objects are not closed
> --------------------------------
>
>                 Key: OFBIZ-4420
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4420
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Dimitri Unruh
>            Assignee: Sascha Rodekamp
>            Priority: Minor
>         Attachments: OFBIZ-4420.patch
>
>
> Some methods are creating an IO stream object without closing it, so it could result on a descriptor leak.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira