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

Update Unicode Data Files to Version 15.1.0

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 22
    • core-libs
    • None
    • source
    • minimal
    • The risk is minimal, as they are simply new assignments of code points, and a new block.
    • Java API
    • SE

      Summary

      Support the Unicode Standard version 15.1.0 in the JDK.

      Problem

      Keeping up with the latest Unicode Standard is imperative. Otherwise, interoperability with other platforms would be problematic.

      Solution

      Incorporate Unicode 15.1.0 which added 627 characters, 1 new block since Unicode 15.0. Detailed changes are described on the Unicode Consortium's 15.1.0 website.

      Support for the Unicode extended grapheme clusters in java.util.regex.Pattern will be upgraded to 15.1.0 level of the Unicode Annex #29 "Unicode Text Segmentation."

      For more specific delta charts, refer to Unicode.org's delta page.

      Specification

      Change the class description in the java.lang.Character class as:

      @@ -61,11 +61,11 @@
         * This file specifies properties including name and category for every
         * assigned Unicode code point or character range. The file is available
         * from the Unicode Consortium at
         * <a href="http://www.unicode.org">http://www.unicode.org</a>.
         * <p>
      -  * Character information is based on the Unicode Standard, version 15.0.
      +  * Character information is based on the Unicode Standard, version 15.1.
         * <p>
         * The Java platform has supported different versions of the Unicode
         * Standard over time. Upgrades to newer versions of the Unicode Standard
         * occurred in the following Java releases, each indicating the new version:
         * <table class="striped">
      @@ -73,10 +73,12 @@
         * <thead>
         * <tr><th scope="col">Java release</th>
         *     <th scope="col">Unicode version</th></tr>
         * </thead>
         * <tbody>
      +  * <tr><th scope="row" style="text-align:left">Java SE 22</th>
      +  *     <td>Unicode 15.1</td></tr>
         * <tr><th scope="row" style="text-align:left">Java SE 20</th>
         *     <td>Unicode 15.0</td></tr>
         * <tr><th scope="row" style="text-align:left">Java SE 19</th>
         *     <td>Unicode 14.0</td></tr>
         * <tr><th scope="row" style="text-align:left">Java SE 15</th>

      In java.lang.Character.UnicodeBlock class, add the following new field:

      +         /**
      +          * Constant for the "CJK Unified Ideographs Extension I" Unicode
      +          * character block.
      +          * @since 22
      +          */
      +         public static final UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_I

            naoto Naoto Sato
            naoto Naoto Sato
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: