Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11602

Fix toUpperCase/toLowerCase to use Locale.ENGLISH

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • None
    • None
    • Reviewed

    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

      This issue is derived from HADOOP-10101.

      Attachments

        1. HADOOP-11602-001.patch
          125 kB
          Tsuyoshi Ozawa
        2. HADOOP-11602-002.patch
          130 kB
          Tsuyoshi Ozawa
        3. HADOOP-11602-003.patch
          149 kB
          Tsuyoshi Ozawa
        4. HADOOP-11602-004.patch
          151 kB
          Tsuyoshi Ozawa
        5. HADOOP-11602-branch-2.001.patch
          134 kB
          Tsuyoshi Ozawa
        6. HADOOP-11602-branch-2.002.patch
          133 kB
          Tsuyoshi Ozawa
        7. HADOOP-11602-branch-2.003.patch
          147 kB
          Tsuyoshi Ozawa
        8. HADOOP-11602-branch-2.004.patch
          147 kB
          Tsuyoshi Ozawa
        9. HADOOP-11602-branch-2.005.patch
          153 kB
          Tsuyoshi Ozawa

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: