RFR: JDK-8310453: Update javadoc of java.lang.Object

Alan Bateman alanb at openjdk.org
Wed Jun 21 13:32:09 UTC 2023


On Wed, 21 Jun 2023 11:49:54 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> src/java.base/share/classes/java/lang/Object.java line 260:
>> 
>>> 258:      * }
>>> 259:      * The {@link java.util.Objects#toIdentityString(Object)
>>> 260:      * Objects.toIdentityString} method returns the string for an
>> 
>> That last sentence doesn't feel like it needs to be part of `@implSpec`, although there's definitely a connection.
>
> That is, a clear connection to what's being described by that `@implSpec`.

This method has an existing apiNote and implSpec. I suspect Joe meant to add this sentence to the apiNote, not the implSpec.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/14567#discussion_r1236963868


More information about the core-libs-dev mailing list