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

Xueming Shen sherman at openjdk.org
Mon Jun 16 22:53:27 UTC 2025


On Thu, 12 Jun 2025 21:12:53 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

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

Just wondering how Windows implementation really behaves for its 'case-insensitive-comparing" for "\u0131 vs "I"

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

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


More information about the core-libs-dev mailing list