[lworld] RFR: 8373202: [lworld] ObjectReference.equals should follow == semantics for value objects [v4]

Chris Plummer cjplummer at openjdk.org
Tue Jan 20 19:43:27 UTC 2026


On Fri, 16 Jan 2026 22:11:21 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> Updated implementation of ObjectReference.equals and ObjectReference.hashCode to comply the spec for value objects.
>> Added the test for value object ctor debugging, the test verifies the behaviour is expected.
>> There is an issue with instance filter, it till be fixed separately (it's not yet clear how it would be better to fix it)
>> 
>> testing: tier1..4, hs-tier5-svc
>
> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   space

test/jdk/com/sun/jdi/valhalla/CtorDebuggingTest.java line 84:

> 82: - all 3 references exists;
> 83: - there are references for 1 and 3 breakpoints.
> 84: 

These comment lines should all start with a "*".

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1834#discussion_r2709809770


More information about the valhalla-dev mailing list