You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "lujie (Jira)" <ji...@apache.org> on 2021/10/04 11:53:00 UTC

[jira] [Created] (LUCENE-10144) Resource Leak due to Files.list

lujie created LUCENE-10144:
------------------------------

             Summary: Resource Leak due to Files.list
                 Key: LUCENE-10144
                 URL: https://issues.apache.org/jira/browse/LUCENE-10144
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: lujie


See [https://github.com/apache/lucene/blob/d5d6dc079395c47cd6d12dcce3bcfdd2c7d9dc63/buildSrc/src/main/java/org/apache/lucene/gradle/datasets/ExtractReuters.java#L48]

Files.list will open dir and we sould close it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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