JDK-4829622 : TabSet class does not override equals
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.1_01
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-03-10
  • Updated: 2017-05-16
  • Resolved: 2003-11-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
Other
5.0 b28Fixed
Description
The class javax.swing.text.TabSet does not override .equals() method, which causes comparisons to fail even if the TabStop[] array does contain the same TabStops.

Even worse, it causes AttributeSet(s) not to be equal, even though the only difference is another object instance of TabSet. This bug was revealed in conjunction with the Java AccessBridge for Gnome, which has to rely on AttributeSet.equals().

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-b28 tiger-beta
2004-06-14

EVALUATION Name: ik75403 Date: 03/10/2003 as description says TabSet does not override equals. We will do this for the next jdk release ======================================================================
2004-06-11