RFR: 8191963: Path.equals() and File.equals() return true for two different files on Windows [v2]
Brian Burkhalter
bpb at openjdk.org
Thu Oct 2 20:13:38 UTC 2025
> Replace logic in `java.io.WinNTFileSystems.compare(File,File)` with that from `sun.nio.fs.WindowsPath.compareTo(Path)`.
Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- 8191963: Add system property to enable legacy behavior
- Merge
- 8191963: Path.equals() and File.equals() return true for two different files on Windows
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25788/files
- new: https://git.openjdk.org/jdk/pull/25788/files/cc4cef65..a63e13e1
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25788&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25788&range=00-01
Stats: 344119 lines in 5510 files changed: 239196 ins; 69265 del; 35658 mod
Patch: https://git.openjdk.org/jdk/pull/25788.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25788/head:pull/25788
PR: https://git.openjdk.org/jdk/pull/25788
More information about the core-libs-dev
mailing list