On Fri, 17 Jul 2026 02:41:57 GMT, Dan Smith <[email protected]> wrote:

> Some final polishing to align javadocs with the JEP.
> 
> - Main goal is to remove usage of "statewise equivalent", as noted in the 
> title
> - A little bit of general editing in the Object intro, `equals` method, and 
> `clone` method
> - Corrected "the finalize method of a value ~class~ _object_ will never be 
> invoked"
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

src/java.base/share/classes/java/util/IdentityHashMap.java line 55:

> 53:  *          When preview features are enabled, keys and values may be
> 54:  *          {@linkplain java.util.Objects#hasIdentity value objects}.
> 55:  *          Two value object keys are {@code == } if they are instances

Suggestion:

 *          Two value object keys are {@code ==} if they are instances

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2651#discussion_r3600162899

Reply via email to