[jdk25u-dev] RFR: 8372012: java/nio/file/attribute/BasicFileAttributeView/SetTimesNanos.java should check ability to create links
duke
duke at openjdk.org
Mon Feb 23 16:53:37 UTC 2026
On Wed, 18 Feb 2026 20:10:30 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8372012: java/nio/file/attribute/BasicFileAttributeView/SetTimesNanos.java should check ability to create links.
>
> This PR adds symbolic link support check to SetTimesNanos.java before attempting to create symbolic links, preventing failures on platforms that don't support them.
>
> For parity with Oracle JDK.
>
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
>
> make test TEST=test/jdk/java/nio/file/attribute/BasicFileAttributeView/SetTimesNanos.java
>
> Results attached:
>
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25419689/windows-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25419690/macos-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/25419691/linux-x64-specific-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25419692/linux-aarch64-specific-test.log)
@rm-gh-8
Your change (at version 954baa0a9ac0ab765ba1c1a318934189c64b8623) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/287#issuecomment-3945965970
More information about the jdk-updates-dev
mailing list