[ http://issues.apache.org/jira/browse/LUCENE-289?page=all ] Erik Hatcher resolved LUCENE-289: ---------------------------------
Fix Version: 1.9 Resolution: Fixed Assign To: Erik Hatcher (was: Lucene Developers) Applied (manually). There were no votes against this change, and 1.9 is the right time to do this sort of change. > [patch] better support gcj compilation > -------------------------------------- > > Key: LUCENE-289 > URL: http://issues.apache.org/jira/browse/LUCENE-289 > Project: Lucene - Java > Type: Bug > Components: Index > Versions: 1.4 > Environment: Operating System: All > Platform: Other > Reporter: Andi Vajda > Assignee: Erik Hatcher > Fix For: 1.9 > Attachments: delete.txt > > 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). -- 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]