hg: jdk8/tl/langtools: 6563143: javac should issue a warning for overriding equals without hashCode

vicente.romero at oracle.com vicente.romero at oracle.com
Mon Feb 18 14:34:41 UTC 2013


Changeset: 2620c953e9fe
Author:    vromero
Date:      2013-02-18 14:33 +0000
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/2620c953e9fe

6563143: javac should issue a warning for overriding equals without hashCode
Reviewed-by: jjg, mcimadamore

! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/code/Lint.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/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/sjavac/comp/Dependencies.java
+ test/tools/javac/6563143/OverridesEqualsButNotHashCodeTest.java
+ test/tools/javac/6563143/OverridesEqualsButNotHashCodeTest.out
! test/tools/javac/diags/examples.not-yet.txt




More information about the security-dev mailing list