[
https://issues.apache.org/jira/browse/LUCENE-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Busch updated LUCENE-1979:
----------------------------------
Attachment: lucene-1979-bw.patch
Patch for the back-compat trunk.
Hmm, everything passes, except this one:
{noformat}
[junit] java.lang.NoSuchMethodError:
org.apache.lucene.index.SnapshotDeletionPolicy.snapshot()Lorg/apache/lucene/index/IndexCommitPoint;
[junit] at
org.apache.lucene.TestSnapshotDeletionPolicy.testReuseAcrossWriters(TestSnapshotDeletionPolicy.java:82)
[junit] at
org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:206)
[junit] Test org.apache.lucene.TestSnapshotDeletionPolicy FAILED
{noformat}
Here drop-in replacement doesn't seem to work. The method snapshot() of
SnapshotDeletionPolicy was changed to return IndexCommit instead of
IndexCommitPoint. IndexCommit used to implement the deprecated
IndexCommitPoint, which this patch removes.
So the tests are compiled against snapshot() returning IndexCommitPoint in the
bw-branch, and when run against the method returning IndexCommit of trunk it
fails with the exception above.
> Remove remaining deprecations from indexer package
> --------------------------------------------------
>
> Key: LUCENE-1979
> URL: https://issues.apache.org/jira/browse/LUCENE-1979
> Project: Lucene - Java
> Issue Type: Task
> Components: Index
> Reporter: Michael Busch
> Priority: Minor
> Fix For: 3.0
>
> Attachments: lucene-1979-bw.patch, lucene-1979.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]