[ https://issues.apache.org/jira/browse/JCRVLT-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906708#comment-17906708 ]
Julian Reschke edited comment on JCRVLT-788 at 12/18/24 10:54 AM: ------------------------------------------------------------------ How about: - checking all cases where we do "valueOf()" for an enum - make sure that IllegalArgumentException is catched early - when the exception happens, add the value of the default locale to the reason text That would at least allow us to collect more information. was (Author: reschke): How about: - checking all cases where we do "valueOf()" for an enum - make sure that IllegalArgumentException is catched early - when the exception happens, add the value of the default locale to the reason text That would at least allow use to collect more information. > use of 'toUppercase' with default locale should be avoided > ---------------------------------------------------------- > > Key: JCRVLT-788 > URL: https://issues.apache.org/jira/browse/JCRVLT-788 > Project: Jackrabbit FileVault > Issue Type: Bug > Reporter: Julian Reschke > Assignee: Julian Reschke > Priority: Minor > > This may lead to surprising results, such as uppercasing "i" not resulting in > "I". > See https://mattryall.net/blog/the-infamous-turkish-locale-bug -- This message was sent by Atlassian Jira (v8.20.10#820010)