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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 6, 7
    • Fix Version/s: 8-pool
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: