On Tue, 29 Sep 2026 16:01:42 GMT, Chen Liang <[email protected]> wrote:
>> The identity hash code of value objects currently can produce 0. A zero >> value is usually not anticipated for System.identityHashCode calls unless >> the argument is null; the 0 hash also cannot be cached. Thus, we should move >> away from the 0 hash. >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Chen Liang has updated the pull request with a new target base due to a merge > or a rebase. The pull request now contains 17 commits: > > - Merge branch 'master' into JDK-8391990 > - Update comment > - Add runtime test and use more no_hash, less explicit 0 > - Rename and comment a bit > - Remove useless java.management > - Review > - Don't overmask > - Fix copyright date > - Merge branch 'master' into JDK-8391990 > - Also, make sure it's set > - ... and 7 more: https://git.openjdk.org/jdk/compare/c1565def...a0b038f8 After merging master cleanly, tests are still pleased. It is time to get that in. Thanks everybody for review! ------------- PR Comment: https://git.openjdk.org/jdk/pull/32660#issuecomment-5893920515
