You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2013/09/22 17:27:25 UTC

svn commit: r1525376 - /lucene/dev/trunk/lucene/CHANGES.txt

Author: uschindler
Date: Sun Sep 22 15:27:25 2013
New Revision: 1525376

URL: http://svn.apache.org/r1525376
Log:
LUCENE-5235: Add more information to backwards break changes section.

Modified:
    lucene/dev/trunk/lucene/CHANGES.txt

Modified: lucene/dev/trunk/lucene/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/CHANGES.txt?rev=1525376&r1=1525375&r2=1525376&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/CHANGES.txt (original)
+++ lucene/dev/trunk/lucene/CHANGES.txt Sun Sep 22 15:27:25 2013
@@ -103,7 +103,10 @@ Changes in backwards compatibility polic
 * LUCENE-5235: Sub classes of Tokenizer have to call super.reset()
   when implementing reset(). Otherwise the consumer will get an
   IllegalStateException because the Reader is not correctly assigned.
-  (Uwe Schindler, Robert Muir)
+  It is important to never change the "input" field on Tokenizer
+  without using setReader(). The "input" field must not be used
+  outside reset(), incrementToken(), or end() - especially not in
+  the constructor.  (Uwe Schindler, Robert Muir)
 
 * LUCENE-5204: Directory doesn't have default implementations for
   LockFactory-related methods, which have been moved to BaseDirectory. If you