You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2017/06/11 13:19:20 UTC

[jira] [Closed] (OFBIZ-9388) Writer closed but not in case of exception

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

Jacques Le Roux closed OFBIZ-9388.
----------------------------------
    Resolution: Done

This is completely done

> Writer closed but not in case of exception
> ------------------------------------------
>
>                 Key: OFBIZ-9388
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9388
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Release
>
>
> This is an improvement only because no cases were reported. But obviously in case of unlucky exception after the Writer creation and before it's closed the Writer remains in memory.
> The solution is to use try-with-ressources when possible.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)