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

Make sure we call ensureOpen when registering closed listeners

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 7.0
    • None
    • None
    • New

    Description

      I thought I had done it already, but apparently not. This is important as otherwise the registered listeners will never be called, so this can catch usage errors that are otherwise hard to detect.

      Attachments

        1. LUCENE-7781.patch
          7 kB
          Adrien Grand

        Activity

          jpountz Adrien Grand added a comment -

          Here is a patch.

          jpountz Adrien Grand added a comment - Here is a patch.

          Commit d3494c2cd6a7c65b960e24dfff2459efeba29f81 in lucene-solr's branch refs/heads/master from jpountz
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d3494c2 ]

          LUCENE-7781: Call ensureOpen when registering closed listeners.

          jira-bot ASF subversion and git services added a comment - Commit d3494c2cd6a7c65b960e24dfff2459efeba29f81 in lucene-solr's branch refs/heads/master from jpountz [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d3494c2 ] LUCENE-7781 : Call ensureOpen when registering closed listeners.
          tomoko Tomoko Uchida added a comment -

          This issue was moved to GitHub issue: #8832.

          tomoko Tomoko Uchida added a comment - This issue was moved to GitHub issue: #8832 .

          People

            Unassigned Unassigned
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: