[lworld] Integrated: 8336029: [lworld] Rename Objects.isIdentity() to hasIdentity()
Roger Riggs
rriggs at openjdk.org
Mon Jul 15 13:57:12 UTC 2024
On Tue, 9 Jul 2024 20:59:09 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Rename Objects.isIdentity() to hasIdentity()
> Remove java.util.Objects.isValueObject and replace its use with !hasIdentity().
> Align the WeakHashMap WeakValuePolicy default with that of java.lang.Reference.
> Namely, throw IdentityException unless the WeakHashMap is created with a different policy.
> WeakHashMapPolicy is a unsupported experimental API.
This pull request has now been integrated.
Changeset: 75c86694
Author: Roger Riggs <rriggs at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/75c866941409aa9304009b58da73b08b17e2c1cb
Stats: 39 lines in 7 files changed: 0 ins; 17 del; 22 mod
8336029: [lworld] Rename Objects.isIdentity() to hasIdentity()
-------------
PR: https://git.openjdk.org/valhalla/pull/1163
More information about the valhalla-dev
mailing list