JDK 10 RFR of JDK-8172928: Add doc link from System.identityHashCode to Object.hashCode

Lance Andersen Lance.Andersen at oracle.com
Fri Feb 17 02:36:00 UTC 2017


Looks fine Joe 

--

Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com

Sent from my iPhone

> On Feb 16, 2017, at 9:29 PM, Joseph D. Darcy <joe.darcy at oracle.com> wrote:
> 
> Hello,
> 
> Please review the patch below to address
> 
>    JDK-8172928: Add doc link from System.identityHashCode to Object.hashCode
> 
> Thanks,
> 
> -Joe
> 
> diff -r e405d4bf5c56 src/java.base/share/classes/java/lang/System.java
> --- a/src/java.base/share/classes/java/lang/System.java    Tue Feb 14 16:56:12 2017 +0100
> +++ b/src/java.base/share/classes/java/lang/System.java    Thu Feb 16 18:26:54 2017 -0800
> @@ -534,6 +534,8 @@
>      * @param x object for which the hashCode is to be calculated
>      * @return  the hashCode
>      * @since   1.1
> +     * @see Object#hashCode
> +     * @see java.util.Objects#hashCode(Object)
>      */
>     @HotSpotIntrinsicCandidate
>     public static native int identityHashCode(Object x);


More information about the core-libs-dev mailing list