Integrated: 8323710: (fc) FileChannel.lock creates a FileKey with a poor hashCode after JDK-8321429 (win)

Brian Burkhalter bpb at openjdk.org
Wed Jan 17 16:38:02 UTC 2024


On Tue, 16 Jan 2024 20:56:21 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Dispense with the shift operators in calculating the hash code of `FileKey`.

This pull request has now been integrated.

Changeset: 4e532353
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4e5323538c81f6ca525e7681841d09f2ddf408b9
Stats:     5 lines in 1 file changed: 0 ins; 3 del; 2 mod

8323710: (fc) FileChannel.lock creates a FileKey with a poor hashCode after JDK-8321429 (win)

Reviewed-by: alanb

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

PR: https://git.openjdk.org/jdk/pull/17452


More information about the nio-dev mailing list