[lworld] RFR: 8287030: Remove references to Objects.newIdentity

Mandy Chung mchung at openjdk.java.net
Thu May 19 18:19:22 UTC 2022


On Thu, 19 May 2022 15:53:48 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> `new Object()` is again a valid way to construct a simple identity object.
> As per the [JEP Draft Value Objects (Preview)](https://openjdk.java.net/jeps/8277163).
> 
> The method `java.util.Objects.newIdentity()` is no longer needed

Marked as reviewed by mchung (Committer).

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

PR: https://git.openjdk.java.net/valhalla/pull/692



More information about the valhalla-dev mailing list