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

Roger Riggs rriggs at openjdk.org
Fri Sep 30 17:15:01 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:

  javadoc updates in Class for isIdentity and isValue

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

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

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

  Stats: 9 lines in 1 file changed: 0 ins; 3 del; 6 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