/[Apache-SVN]
ViewVC logotype

Revision 1343214


Jump to revision: Previous Next
Author: dweiss
Date: Mon May 28 12:00:24 2012 UTC (12 years, 5 months ago)
Changed paths: 3
Log Message:
LUCENE-4078: PatternReplaceCharFilter assertion error caused by malformed
utf-16. This is most likely a bug in the JDK because a
Pattern("").replaceAll("x") is inserted in between surrogate pair
characters and corrupts strings.

A temporary fix is to check for this at random pattern generator and pick
again if detected.

Changed paths

Path Details
Directorylucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/analysis/pattern/TestPatternReplaceCharFilter.java modified , text changed
Directorylucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/analysis/MockTokenizer.java modified , text changed
Directorylucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26