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

Roger Riggs rriggs at openjdk.java.net
Fri May 20 15:59:57 UTC 2022


> `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

Roger Riggs has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:

 - Merge
 - Remove call to removed test method
 - Merge branch '8287030-remove-newidentity' of https://github.com/RogerRiggs/valhalla into 8287030-remove-newidentity
 - 8287030: Remove references to Objects.newIdentity
 - 8287030: Remove references to Objects.newIdentity

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

Changes: https://git.openjdk.java.net/valhalla/pull/692/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=692&range=02
  Stats: 42 lines in 7 files changed: 0 ins; 33 del; 9 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/692.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/692/head:pull/692

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



More information about the valhalla-dev mailing list