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

[patch] better support gcj compilation

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.9
    • core/index
    • None
    • Operating System: All
      Platform: Other

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: