Integrated: 8356605: JRSUIControl.hashCode and JRSUIState.hashCode can use Long.hashCode
Shaojin Wen
swen at openjdk.org
Tue May 13 22:19:56 UTC 2025
On Thu, 1 May 2025 16:16:29 GMT, Shaojin Wen <swen at openjdk.org> wrote:
> Similar to #24959 and #24971 and #24987, apple.laf.JRSUIControl and apple.laf.JRSUIState in java.desktop can also be simplified similarly.
>
> Replace manual bitwise operations in hashCode implementations of JRSUIControl/JRSUIState with Long::hashCode.
This pull request has now been integrated.
Changeset: 1bded718
Author: Shaojin Wen <swen at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1bded7188f866a61d03936a9537503b31d603dc2
Stats: 5 lines in 2 files changed: 0 ins; 1 del; 4 mod
8356605: JRSUIControl.hashCode and JRSUIState.hashCode can use Long.hashCode
Reviewed-by: prr, serb
-------------
PR: https://git.openjdk.org/jdk/pull/24989
More information about the client-libs-dev
mailing list