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

DefaultCaret.equals() not implemented.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.2
    • 1.0.2, 1.2.0
    • client-libs
    • None
    • 1.2.2
    • generic, x86
    • windows_95, windows_nt

      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.

            tprinzing Tim Prinzing (Inactive)
            tballsunw Tom Ball (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: