Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6611

Potential resource leakage in DirectoryTaxonomyWriter.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 6.0
    • None
    • modules/facet
    • New, Patch Available

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rmp91 Rishabh Patel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: