On Fri, 31 Jul 2026 03:23:54 GMT, Joe Darcy <[email protected]> wrote:

> Add reference to "indistinguishable" in Object.equals.
> 
> 
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

In the implSpec tag in Object.equals, the sentence

"In other words, under the object equality equivalence relation, each 
equivalence class only has a single element."

This is misleading/inaccurate when value objects are in the mix. I"ll file a 
separate bug to clarify this.

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

PR Comment: https://git.openjdk.org/jdk/pull/32114#issuecomment-5146736783

Reply via email to