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

Incorrect documentation of Unicode compliance

XMLWordPrintable

    • beta
    • generic
    • generic
    • Verified



      Name: vi73552 Date: 06/17/99


      The documentation concerning the compliance to the Unicode
      Standard is inconsistent:

        - API online documentation, class Character, method:
          isSpaceChar: Unicode 2.0 is mentioned. However, the
          method behaves according to Unicode 2.1:
          isSpaceChar('\uFEFF') returns false, while it would
          return true if it complied with Unicode 2.0
        - API online documentation, class Character, method:
          isWhitespace: it mentions \uFEFF, while it should not
          if it complies to Unicode 2.1
        - source code of Character.java: it mentions Unicode 2.1.2

      Since the class Character complies to Unicode 2.1, there is
      a need to replace the references to 2.0 with 2.1 and to
      remove the references to \uFEFF, which is no longer a space
      character in 2.1.
      (Review ID: 84471)
      ======================================================================

            joconnersunw John Oconner (Inactive)
            vasya Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: