[lworld] RFR: 8373202: [lworld] ObjectReference.equals should follow == semantics for value objects
Chris Plummer
cjplummer at openjdk.org
Thu Jan 15 02:25:51 UTC 2026
On Wed, 14 Jan 2026 22:58:16 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> isInlined name (and its implementation) is consistent with hotspot code.
But in the case of JDI we are talking about a potentially external API.
>To me IsIdentity (I think isValue is better) should be in ClassType
We need to be careful of the use of "value" in JDI since we already have com.sun.jdi.Value, which peculates into all sorts of APIs like ObjectReference.getValue(Field) and BooleanValue. It doesn't help any that we also have Value.type().
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1834#discussion_r2692723345
More information about the valhalla-dev
mailing list