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

Richard Zowalla commented on OPENNLP-1545:
------------------------------------------

This is the line im question. Needs a try with resources: 
https://github.com/apache/opennlp/blob/main/opennlp-tools%2Fsrc%2Fmain%2Fjava%2Fopennlp%2Ftools%2Futil%2Fmodel%2FBaseModel.java#L241

> ZipStream is not closed
> -----------------------
>
>                 Key: OPENNLP-1545
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1545
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Sentence Detector
>    Affects Versions: 2.3.2
>            Reporter: Bernard Bou
>            Assignee: Martin Wiesner
>            Priority: Minor
>             Fix For: 2.5.5
>
>         Attachments: opennlp_bug.txt
>
>
> ZipStream is not closed (see stack trace attached) as detected by StrictMode 
> as a policy violation.



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

Reply via email to