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

Replace usage of deprecated RAMOutputStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 7.7, 8.0
    • core/index
    • None
    • New, Patch Available

    Description

      While reviewing code in FrozenBufferedUpdates I noticed that it uses the deprecated RAMOutputStream. This issue fixes it. Separately we should reduce the usage of that class, so that we can really remove it.

       

      Besides that, while running tests I hit a test failure which at first I thought was related to this change, but then noticed that the test doesn't close the DirectoryReader (I run tests on Windows), so that fix is included in this patch too.

      Attachments

        1. LUCENE-8588.patch
          5 kB
          Shai Erera

        Issue Links

          Activity

            People

              shaie Shai Erera
              shaie Shai Erera
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: