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

DefaultCaret.equals() not implemented.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.0.2, 1.2.0
    • Fix Version/s: 1.2.2
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      1.2.2
    • CPU:
      generic, x86
    • OS:
      windows_95, windows_nt

      Description

      DefaultCaret subclasses from Rectangle, and therefore inherits its equals() implementation. The problem is that DefaultCaret has lots more instance data, yet two DefaultCarets with differing data and the same bounding rectangle will cause equals() to return true. This is important partly because PropertyChange events aren't fired when different DefaultCursors have the same bounding rectangle, causing the BeanFire test to fail.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tprinzinsunw Timothy Prinzing (Inactive)
                Reporter:
                tballsunw Tom Ball (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: