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

remove IndexInput.copyBuf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 3.5, 4.0-ALPHA
    • None
    • None
    • New

    Description

      this looks really broken/dangerous as an instance variable.

      what happens on clone() ?! copyBytes can instead make its own array inside the method.

      its protected, so ill list in the 3.x backwards breaks section since its technically a backwards break.

      Attachments

        1. LUCENE-3541.patch
          3 kB
          Robert Muir
        2. LUCENE-3541.patch
          3 kB
          Robert Muir
        3. LUCENE-3541.patch
          0.9 kB
          Robert Muir

        Activity

          People

            rcmuir Robert Muir
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: