Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8190322

Incorrect Case Folding of Unicode Block "Cherokee Supplement"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9.0.1
    • Fix Version/s: None
    • Component/s: core-libs
    • Environment:

      JRE 9.0.1, Win 8.1, 64 Bit

      Description

      Since JRE 9 the Unicode Block "Cherokee Supplement" is supported by JRE. The Unicode Consortium mandates special case folding rules for "Cherokee" in the file CaseFolding-8.0.0.txt (see http://www.unicode.org/Public/8.0.0/ucd/CaseFolding.txt). Unfortunately, JRE 9 does not obey these rules, hence case folding works wrong in JRE 9.

      Example: CaseFolding-8.0.0.txt mandates the outcome for case folding for code point 0x13F8 to be 0x13F0, but JRE 9 incorrectly produces 0x13F8 -- which simply is wrong.

      Steps to reproduce:
      * new String(new byte[] {(byte) 0x13, (byte) 0xF8}).toUpperCase().toLowerCase().codePoints();

      Expected result:
      * 13F0

      Actual result:
      * 13F8

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rgoel Rachna Goel (Inactive)
                Reporter:
                mkarg Markus Karg
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: