RFR: 8356021: Use Double::hashCode in java.util.Locale::hashCode

Roger Riggs rriggs at openjdk.org
Thu May 1 13:55:46 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.

lgltm

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

Marked as reviewed by rriggs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24971#pullrequestreview-2809829827


More information about the core-libs-dev mailing list