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

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5, 4.0-ALPHA
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: