RFR: 8191963: Path.equals() and File.equals() return true for two different files on Windows
Brian Burkhalter
bpb at openjdk.org
Thu Oct 2 17:35:58 UTC 2025
On Tue, 30 Sep 2025 13:26:54 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> [...] changing File means working through the compatibility impact [...]
It's probably not enough, but:
- `java.io.WinNTFileSystem.compare(File,File)` is invoked only by `File.equals`.
- Tier 1-3 tests passed in the mainline CI with this change.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25788#issuecomment-3362293619
More information about the core-libs-dev
mailing list