RFR: 8355391: Use Long::hashCode in java.time
Volkan Yazici
vyazici at openjdk.org
Wed Apr 30 17:49:45 UTC 2025
On Wed, 30 Apr 2025 15:01:08 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Replace manual bitwise operations in `hashCode` implementations of `java.time` with `Long::hashCode`.
>
> lgtm
@RogerRiggs, @minborg, @naotoj, thanks for the reviews. I've attached successful `tier1,2` results to the ticket. I'd appreciate it if one of you would be kind enough to also sponsor the changes.
@wenshao, thanks for the tip. I will explore if we can perform similar simplifications in `java.util` too.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24959#issuecomment-2842824998
More information about the core-libs-dev
mailing list