[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=239232&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-239232 ]
ASF GitHub Bot logged work on LANG-1453: ---------------------------------------- Author: ASF GitHub Bot Created on: 08/May/19 14:57 Start Date: 08/May/19 14:57 Worklog Time Spent: 10m Work Description: chtompki commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490520731 I agree with @cesartxt - it seems that this resolves the unit tests as written for `StringUtils`, but the question becomes are there similar lower case letters that would yield a similar result when ran through `toUpperCase`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 239232) Time Spent: 1h 20m (was: 1h 10m) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > ------------------------------------------------------------------------ > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* > Affects Versions: 3.8.1 > Reporter: Thomas Neerup > Priority: Critical > Time Spent: 1h 20m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)