Christoph Kaser created LUCENE-6358: ---------------------------------------
Summary: UnescapedCharSequence.toLowerCase throws ArrayIndexOutOfBoundsException when for certain input strings Key: LUCENE-6358 URL: https://issues.apache.org/jira/browse/LUCENE-6358 Project: Lucene - Core Issue Type: Bug Components: modules/queryparser Affects Versions: 5.0 Reporter: Christoph Kaser Priority: Minor The static toLowerCase-method of UnescapedCharSequence does nto account for locales in which the length of the result of String.toLowerCase is not the same as the length of the input string. This causes an ArrayIndexOutOfBoundsException, because wasEscaped and the chars array are not of the same length. (See attached test and patch) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org