[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=239240&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-239240 ]
ASF GitHub Bot logged work on LANG-1453: ---------------------------------------- Author: ASF GitHub Bot Created on: 08/May/19 15:17 Start Date: 08/May/19 15:17 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-490528607 An example of another character that has this problem from the lowercase alphabet is `ʼn` or `\u0149`. So the question becomes how do we accommodate for these oddities? I'm open to thoughts here ---------------------------------------------------------------- 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: 239240) Time Spent: 1.5h (was: 1h 20m) > 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: 1.5h > 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)