United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4805885 : Character.UnicodeBlock.of() needs 3 surrogate blocks, not just one

Details
Type:
Enhancement
Submit Date:
2003-01-21
Status:
Resolved
Updated Date:
2003-08-19
Project Name:
JDK
Resolved Date:
2003-08-19
Component:
core-libs
OS:
generic
Sub-Component:
java.lang
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.1_04
Fixed Versions:
5.0 (tiger)

Related Reports
Relates:

Sub Tasks

Description
The Unicode standard defines 3 surrogate blocks: HIGH_SURROGATES, HIGH_PRIVATE_USE_SURROGATES, and LOW_SURROGATES. However, the existing UnicodeBlock implementation simply combines char code values from all three areas into a single SURROGATES_AREA block. While not entirely incorrect, this API could be improved to distinguish among the three blocks.

JDK 1.4.x and previous versions had very limited support of surrogate character values...practically none. It is generally thought that few applications actually use this API, although those that do will certainly show regressions. Prior to the upcoming Tiger release, however, the use of surrogates in the public API is extremely rare. This fact, in addition to our need to correctly track the Unicode standard, seems adequate to support the API change to distinguish among the 3 surrogate blocks.
###@###.### 2003-08-04

                                    

Comments
EVALUATION

Replace single SURROGATES_AREA with separate blocks. Create CCC request to document change.
joconner 8/4/2003
###@###.### 2003-08-04
                                     
2003-08-04
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b16


                                     
2004-06-14



Hardware and Software, Engineered to Work Together