[lworld] RFR: 8294312: [lworld] Add java.util.Objects.isIdentityObject [v3]

Roger Riggs rriggs at openjdk.org
Fri Sep 30 15:06:15 UTC 2022


> Add `java.util.Objects.isIdentityObject(obj)` and update tests.
> 
> Correct j.l.Class.isIdentity() and .isValue() to correctly identify all arrays as identity objects.
> (The modifiers for array classes do have not reliable ACC_IDENTITY or ACC_VALUE bits).
> 
> Updated ValhallaFeaturesTest to use junit.

Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:

  Updates to isIdentity method and related javadoc

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/770/files
  - new: https://git.openjdk.org/valhalla/pull/770/files/ff48dae1..4b3f2a96

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=770&range=02
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=770&range=01-02

  Stats: 13 lines in 3 files changed: 8 ins; 1 del; 4 mod
  Patch: https://git.openjdk.org/valhalla/pull/770.diff
  Fetch: git fetch https://git.openjdk.org/valhalla pull/770/head:pull/770

PR: https://git.openjdk.org/valhalla/pull/770



More information about the valhalla-dev mailing list