JDK-8212120 : Unicode 11.0.0
  • Type: CSR
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P3
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 12
  • Submitted: 2018-10-12
  • Updated: 2019-01-29
  • Resolved: 2018-10-16
Related Reports
CSR :  
Relates :  
Description
Summary
-------

To support Unicode 11.0.0 newly added blocks and scripts need to be reflected in Character class. Thus 11 new blocks, 7 new scripts will be added in Character.UnicodeBlock and Character.UnicodeScript classes respectively.

Problem
-------

To support Unicode 11.0.0, new scripts and new blocks need to be added to Character.UnicodeBlock and Character.UnicodeScript classes.

Solution
--------

11 new blocks and 7 new scripts will be added in Character.UnicodeBlock and Character.UnicodeScript classes 
which are part of API doc in Character class. Following changes need to be made :

- API doc change :  Replace "10.0.0" with "11.0.0" in the java.lang.Character class API doc.
- Add 11 fields to java.lang.Character.UnicodeBlock.
- Add 7 enum elements to java.lang.Character.UnicodeScript.

Specification
-------------

Following changes will be made in API doc of java.lang.Character Class.

    1.  A change in class description of java.lang.Character class:
     
    -    Character information is based on the Unicode Standard, version 10.0.0.  
    +   Character information is based on the Unicode Standard, version 11.0.0.
    
     

    2. 11 fields which are added to java.lang.Character.UnicodeBlock:

   

    +        /**
    +         * Constant for the "Georgian Extended" Unicode
    +         * character block.
    +         * @since 12
    +         */
    +        public static final UnicodeBlock GEORGIAN_EXTENDED 

    +        
    +        /**
    +         * Constant for the "Hanifi Rohingya" Unicode
    +         * character block.
    +         * @since 12
    +         */
    +        public static final UnicodeBlock HANIFI_ROHINGYA

    +        /**
    +         * Constant for the "Old Sogdian" Unicode
    +         * character block.
    +         * @since 12
    +         */
    +        public static final UnicodeBlock OLD_SOGDIAN 

    +        /**
    +         * Constant for the "Sogdian" Unicode
    +         * character block.
    +         * @since 12
    +         */
    +        public static final UnicodeBlock SOGDIAN 

    +        
    +        /**
    +         * Constant for the "Dogra" Unicode
    +         * character block.
    +         * @since 12
    +         */
    +        public static final UnicodeBlock DOGRA 

    +        
    +        /**
    +         * Constant for the "Gunjala Gondi" Unicode
    +         * character block.
    +         * @since 12
    +         */
    +        public static final UnicodeBlock GUNJALA_GONDI 

    +        
    +        /**
    +         * Constant for the "Makasar" Unicode
    +         * character block.
    +         * @since 12
    +         */
    +        public static final UnicodeBlock MAKASAR

    +        
    +        /**
    +         * Constant for the "Medefaidrin" Unicode
    +         * character block.
    +         * @since 12
    +         */
    +        public static final UnicodeBlock MEDEFAIDRIN 

    +        /**
    +         * Constant for the "Mayan Numerals" Unicode
    +         * character block.
    +         * @since 12
    +         */
    +        public static final UnicodeBlock MAYAN_NUMERALS 

    +       /**
    +         * Constant for the "Indic Siyaq Numbers" Unicode
    +         * character block.
    +         * @since 12
    +         */
    +        public static final UnicodeBlock INDIC_SIYAQ_NUMBERS 

    +        
    +        /**
    +         * Constant for the "Chess Symbols" Unicode
    +         * character block.
    +         * @since 12
    +         */
    +        public static final UnicodeBlock CHESS_SYMBOLS 

    3. 7 new scripts which will be added to Character.UnicodeScript class.

    +        /**
    +          * Unicode script "Hanifi Rohingya".
    +          * @since 12
    +          */
    +        HANIFI_ROHINGYA,
    +        
    +        /**
    +          * Unicode script "Old Sogdian".
    +          * @since 12
    +          */
    +        OLD_SOGDIAN,
    +        
    +        /**
    +          * Unicode script "Sogdian".
    +          * @since 12
    +          */
    +        SOGDIAN,
    +        
    +        /**
    +          * Unicode script "Dogra".
    +          * @since 12
    +          */
    +        DOGRA,
    +        
    +        /**
    +          * Unicode script "Gunjala Gondi".
    +          * @since 12
    +          */
    +        GUNJALA_GONDI,
    +        
    +        /**
    +          * Unicode script "Makasar".
    +          * @since 12
    +          */
    +        MAKASAR,
    +        
    +        /**
    +          * Unicode script "Medefaidrin".
    +          * @since 12
    +          */
    +        MEDEFAIDRIN,




Comments
Approving this for JDK 12. If intended for some other release, please edit and re-finalized.
16-10-2018