On Wed, 10 Jun 2026 12:27:43 GMT, SendaoYan <[email protected]> wrote:
>> Shiv Shah has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> 8355320: Use NOFOLLOW_LINKS to match Files.walk symlink behavior
>
> test/lib/jdk/test/lib/util/FileUtils.java line 395:
>
>> 393: try {
>> 394: Path destPath =
>> dst.resolve(src.relativize(sourcePath));
>> 395: if (Files.isDirectory(sourcePath)) {
>
> Maybe better with below?
>
>
> if (Files.isDirectory(sourcePath, LinkOption.NOFOLLOW_LINKS)) {
Good catch, updated
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/31444#discussion_r3391330842