JDK-8008436 : javac should not issue a warning for overriding equals without hasCode if hashCode has been overriden by a superclass
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-02-19
  • Updated: 2017-06-30
  • Resolved: 2013-02-26
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 Availability Release.

To download the current JDK release, click here.
JDK 8
8 b82Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
The patch for JDK-6563143 has introduced a warning for overriding equals without hashCode, this fix has to be made more precise, such as warning if equals is overridden and hasCode is Objects.hashCode rather than requiring hashCode to be overriden in the same type.

Also add source info to the warnings.