[ https://issues.apache.org/jira/browse/LUCENE-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757225#action_12757225 ]
Mark Miller commented on LUCENE-1919: ------------------------------------- bq. I think because of this the payload is cloned separately to be sure that it is private like the newly allocated Token. Thats what it appears to be if you look at the tests added with the change - one of the tests is a next(Token) impl that just keeps setting the payload with the same payload instance that it has as a field. > Analysis back compat break > -------------------------- > > Key: LUCENE-1919 > URL: https://issues.apache.org/jira/browse/LUCENE-1919 > Project: Lucene - Java > Issue Type: Bug > Reporter: Yonik Seeley > Assignee: Uwe Schindler > Fix For: 2.9 > > Attachments: LUCENE-1919.patch, LUCENE-1919.patch, LUCENE-1919.patch, > LUCENE-1919.patch, LUCENE-1919.patch, LUCENE-1919.patch > > > Old and new style token streams don't mix well. -- 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org