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

Brian Burkhalter bpb at openjdk.org
Mon Sep 22 22:15:32 UTC 2025


On Mon, 22 Sep 2025 22:08:30 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Use try-with-resources to ensure that the FileSystem `zipfs` is closed when no longer needed. This fixes the issue at hand. Other changes are to simplify cleanup of test files.

The proposed change has so far passed 30 repeats on Linux and Windows.

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

PR Comment: https://git.openjdk.org/jdk/pull/27440#issuecomment-3321648534


More information about the nio-dev mailing list