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

CaretPositionTest will get different caret position for unvalid surrogate pair on solaris and linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P4
    • 8-pool
    • 6, 7
    • client-libs
    • x86
    • linux, linux_redhat_5.1

    Description

      JDK : any 7 promotion build
      Tested on Solaris 10 and RHAS 4

      Running Supplementary Swing Textcase - CaretPositionTest gets inconsistent caret position from solaris and linux. I think swing toolkit handles cusor differently for invalid surrogate \ud800\ud802 on solaris and rhas. The cursor will skip \ud800\ud802 to the next valid character on rhas, but will stop at \ud800 on solaris.

      Attachments

        Activity

          People

            malenkov Sergey Malenkov (Inactive)
            jwangsunw Jane Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: