-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.4.2
-
None
-
generic
-
generic
The classes java.beans.PropertyDescriptor() and
java.beans.IndexedPropertyDescriptor() both override equals() but
not hashCode().
The hashCode method from Object class is used instead.
Note: This bug is flagged by a program that checks for programming
errors mentioned in "Effective Java" along with other checks.
java.beans.IndexedPropertyDescriptor() both override equals() but
not hashCode().
The hashCode method from Object class is used instead.
Note: This bug is flagged by a program that checks for programming
errors mentioned in "Effective Java" along with other checks.
- duplicates
-
JDK-4634390 JDK code doesn't respect contract for equals and hashCode
- Resolved