-
Bug
-
Resolution: Fixed
-
P3
-
1.0.2, 1.2.0
-
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.
- duplicates
-
JDK-4186783 DefaultCaret should override equals() method
-
- Closed
-
- relates to
-
JDK-4355763 DefaultCaret.equals() violates the symmetric rule for equals()
-
- Closed
-