[ http://issues.apache.org/jira/browse/LUCENE-473?page=all ]
Michele Bini updated LUCENE-473:
--------------------------------
Attachment: gcj-interface-virtual-class.diff
The patch
> Fix to let Searcher.close() and other methods accessible from c++ code
> ----------------------------------------------------------------------
>
> Key: LUCENE-473
> URL: http://issues.apache.org/jira/browse/LUCENE-473
> Project: Lucene - Java
> Type: Bug
> Components: Search
> Reporter: Michele Bini
> Attachments: gcj-interface-virtual-class.diff
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]