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

Potential resource leak in WordDictionary.java

    XMLWordPrintableJSON

    Details

    • Lucene Fields:
      New, Patch Available

      Description

      In the file WordDictionary.java, the input and output object stream might not get closed upon an exception.

      Fix with try-with-resources construct.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: