RFR: 8276661: (fs) UserDefinedFileAttributeView no longer works with long path (win)

Brian Burkhalter bpb at openjdk.java.net
Thu Nov 18 04:34:37 UTC 2021


On Wed, 17 Nov 2021 19:28:19 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Please consider this change which uses a new method `WindowsPath::getPathWithPrefixForWin32Calls`.

The test passes locally but has some problem when run in the CI and fails with a message like this:

Exception: java.nio.file.FileSystemException: \\\\localhost\\t$\\testoutput\\test-support\\jtreg_open_test_jdk_java_nio_file_attribute_UserDefinedFileAttributeView_Basic_java\\tmp\\name12001724450276850194\\ea-length-bug17788303373605884510\\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: The network name cannot be found

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

PR: https://git.openjdk.java.net/jdk/pull/6435


More information about the nio-dev mailing list