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

Mandy Chung mchung at openjdk.org
Thu Sep 29 20:49:45 UTC 2022


On Thu, 29 Sep 2022 19:44:16 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> 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:
> 
>   Review comment updates related to ValhallaFeatures.isEnabled().
>   And javadoc cleanup

Do you have tests to check `Class::accessFlags` for array types?

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

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



More information about the valhalla-dev mailing list