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 |
[ 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 |
In reply to this post by Nicolas Malin (Jira)
[ 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 |
In reply to this post by Nicolas Malin (Jira)
[ 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 |
In reply to this post by Nicolas Malin (Jira)
[ 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 |
Free forum by Nabble | Edit this page |