RFR: 8356605: JRSUIControl.hashCode and JRSUIState.hashCode can use Long.hashCode

Sergey Bylokhov serb at openjdk.org
Tue May 13 00:40:03 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.

Marked as reviewed by serb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/24989#pullrequestreview-2834993165


More information about the client-libs-dev mailing list