lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <>
Subject [jira] Updated: (LUCENE-1979) Remove remaining deprecations from indexer package
Date Wed, 14 Oct 2009 00:09:31 GMT


Michael Busch updated LUCENE-1979:

    Attachment: lucene-1979-bw.patch

Patch for the back-compat trunk.

Hmm, everything passes, except this one:

[junit] java.lang.NoSuchMethodError: org.apache.lucene.index.SnapshotDeletionPolicy.snapshot()Lorg/apache/lucene/index/IndexCommitPoint;
    [junit] 	at org.apache.lucene.TestSnapshotDeletionPolicy.testReuseAcrossWriters(
    [junit] 	at org.apache.lucene.util.LuceneTestCase.runBare(
    [junit] Test org.apache.lucene.TestSnapshotDeletionPolicy FAILED

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

> Remove remaining deprecations from indexer package
> --------------------------------------------------
>                 Key: LUCENE-1979
>                 URL:
>             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:
For additional commands, e-mail:

View raw message