JDK-8321429 breaks FileKey.hashCode()

Alan Bateman Alan.Bateman at oracle.com
Mon Jan 15 07:41:27 UTC 2024


On 14/01/2024 23:54, Simon Nash wrote:
> The change for JDK-8321429 breaks the hashCode() method of 
> sun.nio.ch.FileKey.
Well spotted, it means a poor hashCode when doing a lot of file locking 
on Windows.  I've created JDK-8323710 [1] to track it.

-Alan

[1] https://bugs.openjdk.org/browse/JDK-8323710


More information about the nio-dev mailing list