On Fri, 31 Jul 2026 16:23:38 GMT, Chen Liang <[email protected]> wrote:
>> My goal here is to link to some broader discussion of equality of value >> objects since "indistinguishable" has been introduced as a term to describe >> their semantics. Object.equals is one candidate for that. I've looked at the >> "Value-based Classes" page and that doesn't have a concentrated discussion >> of how value object comparison is done. > > `Object::equals` talks about how the method should be implemented; it has > little to no discussion about the "indistinguisable" rules of value objects, > which is the focus of this excerpt. s/comparing/compares/ ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32114#discussion_r3692456518
