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

incomplete specification for Character.isMirrored(ch)

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description



      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);
          }
      }

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joconnersunw John Oconner (Inactive)
                Reporter:
                ovosunw Ovo Ovo (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: