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

TimeLimitingCollector starts thread in static {} with no way to stop them

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      See the comment in LuceneTestCase.

      If you even do Class.forName("TimeLimitingCollector") it starts up a thread in a static method, and there isn't a way to kill it.

      This is broken.

        Attachments

        1. LUCENE-2822.patch
          21 kB
          Simon Willnauer
        2. LUCENE-2822.patch
          26 kB
          Simon Willnauer
        3. LUCENE-2822.patch
          19 kB
          Simon Willnauer
        4. LUCENE-2822.patch
          15 kB
          Simon Willnauer

          Issue Links

            Activity

              People

              • Assignee:
                simonw Simon Willnauer
                Reporter:
                rcmuir Robert Muir
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: