You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Tsuyoshi Ozawa (JIRA)" <ji...@apache.org> on 2015/03/27 00:51:53 UTC

[jira] [Updated] (TEZ-2240) Fix toUpperCase/toLowerCase to use Locale.ENGLISH

     [ https://issues.apache.org/jira/browse/TEZ-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsuyoshi Ozawa updated TEZ-2240:
--------------------------------
    Attachment: TEZ-2240.1.patch

Attaching a patch.

> Fix toUpperCase/toLowerCase to use Locale.ENGLISH
> -------------------------------------------------
>
>                 Key: TEZ-2240
>                 URL: https://issues.apache.org/jira/browse/TEZ-2240
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ozawa
>            Assignee: Tsuyoshi Ozawa
>         Attachments: TEZ-2240.1.patch
>
>
> String#toLowerCase()/toUpperCase() without a locale argument can occur unexpected behavior based on the locale. It's written in Javadoc:
> {quote}
> For instance, "TITLE".toLowerCase() in a Turkish locale returns "t\u0131tle", where '\u0131' is the LATIN SMALL LETTER DOTLESS I character
> {quote}
> HADOOP-11602 is an issue to address this problem at the Hadoop side.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)