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

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 1.9
    • core/search
    • 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

              Unassigned Unassigned
              michele Michele Mazzucco
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: