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

Richard Zowalla resolved OPENNLP-1586.
--------------------------------------
    Resolution: Fixed

> Prevent resource leaks in BrownCluster and WordClusterDictionary
> ----------------------------------------------------------------
>
>                 Key: OPENNLP-1586
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1586
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Machine Learning
>    Affects Versions: 2.3.3
>            Reporter: Martin Wiesner
>            Assignee: Martin Wiesner
>            Priority: Major
>             Fix For: 2.3.4
>
>
> With the current implementation of BrownCluster and WordClusterDictionary, a 
> resource leak can occur as instances of Reader / Writer and the underlying 
> Input-/OutputStream objects are not closed properly after use.
> Aims: 
> - Ensure that try-with-resources fixes the risk of resource leaks.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to