hg: jdk8/tl/langtools: 8008436: javac should not issue a warning for overriding equals without hasCode if hashCode has been overriden by a superclass

vicente.romero at oracle.com vicente.romero at oracle.com
Tue Feb 26 12:39:22 UTC 2013


Changeset: bd49e0304281
Author:    vromero
Date:      2013-02-26 09:04 +0000
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/bd49e0304281

8008436: javac should not issue a warning for overriding equals without hasCode if hashCode has been overriden by a superclass
Reviewed-by: jjg, mcimadamore

! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/6563143/OverridesEqualsButNotHashCodeTest.java
! test/tools/javac/6563143/OverridesEqualsButNotHashCodeTest.out




More information about the core-libs-dev mailing list