RFR: 8368156: java/nio/file/Files/IsSameFile.java failing (win)

Volkan Yazici vyazici at openjdk.org
Tue Sep 23 08:13:44 UTC 2025


On Tue, 23 Sep 2025 07:54:17 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> user.dir is a standard property and is required to be set. Defaulting to "." is okay, it just shouldn't happen.

If its absence is not expected as you stated, then we should fail if this condition gets violated, IMHO. That is, what @bplb has done is correct – ignore my remark for the `"."` fallback.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27440#discussion_r2371520150


More information about the nio-dev mailing list