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

[patch] better support gcj compilation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.9
    • Component/s: core/index
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Other

    • Bugzilla Id:
      31708

      Description

      There are two methods in IndexReader.java called 'delete'. That is a reserved
      keyword in C++ and these methods cause trouble for gcj which implements a clever
      workaround in renaming them delete$ but the OS X dynamic linker doesn't pick-up
      on it.
      The attached patch renames delete(int) to deleteDocument(int) and delete(Term)
      to deleteDocuments(Term) and deprecates the delete methods (as requested by Doug
      Cutting).

        Attachments

        1. ASF.LICENSE.NOT.GRANTED--delete.txt
          2 kB
          andi@osafoundation.org

          Activity

            People

            • Assignee:
              ehatcher Erik Hatcher
              Reporter:
              vajda Andi Vajda
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: