As observed by the JCK team, the javadoc for the method java.util.Object.hash has an misleading link to the hashCode method for Arrays.hashCode(long[]) rather than Arrays.hashCode(Object[]) as discussed in the method's javadoc. This occur because the @see text does not reference a particular hashCode method; the more specific reference should be added.
- relates to
-
JDK-6891113 More methods for java.util.Objects: deepEquals, hash, toString with default
-
- Resolved
-