-
Type:
Bug
-
Status: Closed
-
Priority:
P3
-
Resolution: Duplicate
-
Affects Version/s: 1.4.0
-
Fix Version/s: None
-
Component/s: core-libs
-
Labels:
-
Subcomponent:
-
CPU:generic
-
OS:generic
Name: ooR10006 Date: 01/08/2001
The jdk1.4.0beta-b45 API specification for method Character.isMirrored(ch)
doesn't specify the return value for undefined chars.
Unicode3.0 standard doesn't specify mirrored property for undefined chars.
jdk1.4.0beta-b45 API implementation returns value false for all undefined chars.
The following simple test shows this:
public class test {
public static void main(String[] args){
String str = "";
for (int i = 0; i <= 65535; ++i){
if (Character.isDefined((char)i) != true){
str += " " + Character.isMirrored((char)i);
}
}
System.out.println(str);
}
}
======================================================================
- duplicates
-
JDK-4404977 Incomplete or inaccurate Character spec
-
- Closed
-