RFR: 8356021: Use Double::hashCode in java.util.Locale::hashCode
Chen Liang
liach at openjdk.org
Thu May 1 14:01:55 UTC 2025
On Wed, 30 Apr 2025 18:01:08 GMT, Shaojin Wen <swen at openjdk.org> wrote:
> Similar to #24959, java.util.Locale.hashCode can also make the same improvement.
>
> Replace manual bitwise operations in hashCode implementations of java.util.Locale with Double::hashCode.
Thanks for this cleanup, indeed equivalent.
-------------
Marked as reviewed by liach (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/24971#pullrequestreview-2809839693
More information about the core-libs-dev
mailing list