JDK-4770303 : EJ: java.beans.PropertyDescriptor equals() overriden but not hashCode()
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.beans
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2002-10-29
  • Updated: 2002-10-30
  • Resolved: 2002-10-30
Related Reports
Duplicate :  
Description
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.