RFR: 8191963: Path.equals() and File.equals() return true for two different files on Windows [v3]

Alan Bateman alanb at openjdk.org
Sun Oct 19 10:45:03 UTC 2025


On Wed, 15 Oct 2025 15:39:57 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> If consensus is reached on this PR, I will proceed to the CSR and then the RN.

Making it opt-in with a system property is harmless but it's not clear if it will be used. However, it does buy time to think about it more and whether there is a route to fixing this.

As regards the property name then we should try to find something better than "windowsUseNIOStyleEquals". Is there anything in the MS blog that would give you something better so that "NIOStyle" is not in the name.

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

PR Comment: https://git.openjdk.org/jdk/pull/25788#issuecomment-3419564706


More information about the core-libs-dev mailing list