[
https://issues.apache.org/jira/browse/LUCENENET-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shad Storhaug closed LUCENENET-611.
-----------------------------------
Resolution: Abandoned
Moved to GitHub: https://github.com/apache/lucenenet/issues/271
> TokenStream.IncrementToken() is called after Dispose() is called
> ----------------------------------------------------------------
>
> Key: LUCENENET-611
> URL: https://issues.apache.org/jira/browse/LUCENENET-611
> Project: Lucene.Net
> Issue Type: Bug
> Components: Lucene.Net Core
> Affects Versions: Lucene.Net 4.8.0
> Reporter: Shad Storhaug
> Priority: Minor
>
> When overriding {{Dispose(bool)}} in either {{TokenStream}} subclasses,
> Lucene.Net will call {{Dispose()}} before it is done using the
> {{TokenStream}}, and call {{IncrementToken()}} again.
>
> The behavior can be observed in the
> {{Lucene.Net.Collation.TestICUCollationKeyFilter.TestCollationKeySort()}}
> when the {{ICUCollationKeyFilter}} implements {{Dispose()}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)