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

Roger Riggs rriggs at openjdk.java.net
Thu May 19 20:58:03 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 incrementally with three additional commits since the last revision:

 - 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

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

Changes:
  - all: https://git.openjdk.java.net/valhalla/pull/692/files
  - new: https://git.openjdk.java.net/valhalla/pull/692/files/de29d3bc..2176cc83

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=valhalla&pr=692&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=valhalla&pr=692&range=00-01

  Stats: 5 lines in 2 files changed: 0 ins; 4 del; 1 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