Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-2240

Fix toUpperCase/toLowerCase to use Locale.ENGLISH

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.4, 0.6.1
    • None
    • None

    Description

      String#toLowerCase()/toUpperCase() without a locale argument can occur unexpected behavior based on the locale. It's written in Javadoc:

      For instance, "TITLE".toLowerCase() in a Turkish locale returns "t\u0131tle", where '\u0131' is the LATIN SMALL LETTER DOTLESS I character

      HADOOP-11602 is an issue to address this problem at the Hadoop side.

      Attachments

        1. TEZ-2240.1.patch
          4 kB
          Tsuyoshi Ozawa

        Activity

          People

            ozawa Tsuyoshi Ozawa
            ozawa Tsuyoshi Ozawa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: