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

PriorityQueue.clear() does not set last element to null

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • core/other
    • None
    • Operating System: All
      Platform: All

    • 9454

    Description

      The code for the clear() method of the PriorityQueue in 1.4 rc5 and the nightly
      CVS of 27/04/2002 does not set the last element in the array to null, so its
      contents can be garbage-collected.

      Attachments

        Activity

          People

            java-dev@lucene.apache.org Lucene Developers
            m.j.bomhoff@student.utwente.nl Matthijs Bomhoff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: