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

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

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
            Priority: Minor


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

        

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

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Dimitri Unruh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dimitri Unruh updated OFBIZ-4420:
---------------------------------

    Attachment: OFBIZ-4420.patch

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

        

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

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp reassigned OFBIZ-4420:
--------------------------------------

    Assignee: Sascha Rodekamp

> 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

        

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

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp closed OFBIZ-4420.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

Thanks Dimitri your patch is in Trunk @Rev1171393

> 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
>             Fix For: SVN trunk
>
>         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