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

Fix toUpperCase/toLowerCase to use Locale.ENGLISH

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

            • Assignee:
              ozawa Tsuyoshi Ozawa
              Reporter:
              ozawa Tsuyoshi Ozawa

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment