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

Fix to let Searcher.close() and other methods accessible from c++ code

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.9
    • Component/s: core/search
    • Labels:
      None

      Description

      gcjh doesn't place in abstract classes implementing an interface the declarations for the interface methods that are not explicitly declared in the abstract class (wew).

      Thus you cannot directly invoce many of lucene.search.Searcher methods, most notably close(), from c++ code.

      I'm attaching a patch that declares them as abstract in lucene.search.Searcher to work around this problem.

        Attachments

        1. gcj-interface-virtual-class.diff
          1 kB
          Michele Mazzucco

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                michele Michele Mazzucco
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: