[lworld] RFR: 8373202: [lworld] ObjectReference.equals should follow == semantics for value objects [v4]
Chris Plummer
cjplummer at openjdk.org
Tue Jan 20 19:43:21 UTC 2026
On Wed, 14 Jan 2026 22:36:54 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
>> src/java.se/share/data/jdwp/jdwp.spec line 1804:
>>
>>> 1802: )
>>> 1803: )
>>> 1804: (Command IsSameObject=11
>>
>> Are you going to add "preview API" warnings to these two APIs?
>
> I'm not sure it makes much sense.
> They are quite generic, I think about adding them to mainline in jdk 27 (but don't use by ObjectReferenceImpl.equals/hashCode)
They might be generic, but they serve no useful purpose outside of valhalla support.
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1834#discussion_r2709774103
More information about the valhalla-dev
mailing list