On Thu, 12 Jun 2025 21:12:53 GMT, Brian Burkhalter <[email protected]> wrote:

> Replace logic in `java.io.WinNTFileSystems.compare(File,File)` with that from 
> `sun.nio.fs.WindowsPath.compareTo(Path)`.

If this none too recent [MSFT blog 
entry](https://learn.microsoft.com/en-us/archive/blogs/greggm/comparing-file-names-in-native-code)
 is to be believed, `Path.equals` and the proposed changed version of 
`File.equals` match the behavior of the Windows operating system.

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

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

Reply via email to