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

DefaultCaret.ensureValidPosition() should ensure dot and mark not > doc length

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta2
    • generic
    • generic

      Currently, DefaultCaret.ensureValidPosition() checks that dot and mark are not >= to the doc length. Instead, it should check that they are not > doc length. It is okay for dot and mark to be equal to the document length.

            shickeysunw Shannon Hickey (Inactive)
            shickeysunw Shannon Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: