-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
generic
-
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