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

Character.getDirectionality(ch) returns wrong values

    XMLWordPrintable

Details

    • generic
    • generic

    Description



      Name: ooR10006 Date: 01/08/2001



      1. jdk1.4.0beta-b45 API method java.lang.Character.getDirectionality(ch)
      returns wrong values for 65514 chars.
      Returned values do not correspond to the chars' bidirectional categories
      defined by Unicode 3.0. The method returns correct values only for the
      following chars (code point, bidirectional category):
      0x20 WS, 0xab ON, 0x1680 WS, 0x2000 WS, 0x2001 WS, 0x2002 WS, 0x2003 WS,
      0x2004 WS, 0x2005 WS, 0x2006 WS, 0x2007 WS, 0x2008 WS, 0x2009 WS, 0x200a WS,
      0x200e L, 0x2018 ON, 0x201b ON, 0x201c ON, 0x201f ON, 0x202f WS, 0x2039 ON,
      0x3000 WS

      Due to these new JCK Merlin test
      api/java_lang/Character/index.html#charFullRange[Character2086]
      fails.

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: