lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6611) Potential resource leakage in DirectoryTaxonomyWriter.java
Date Thu, 25 Jun 2015 23:35:05 GMT

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

ASF GitHub Bot commented on LUCENE-6611:
----------------------------------------

Github user rmp91 commented on the pull request:

    https://github.com/apache/lucene-solr/pull/163#issuecomment-115430640
  
    for https://issues.apache.org/jira/browse/LUCENE-6611


> Potential resource leakage in DirectoryTaxonomyWriter.java
> ----------------------------------------------------------
>
>                 Key: LUCENE-6611
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6611
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>    Affects Versions: Trunk
>            Reporter: Rishabh Patel
>            Priority: Minor
>              Labels: github-import
>
> The resource 'in' is closed in an unsafe manner, potentially leading to resource leak.

> It can be fixed by using the try-with-resources construct.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message