Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8166206

api/java_nio/file/Files/index.html#FilesTests[isWritable_02] started to fail

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      Files::isWritable returns false for the created directory if run this code on Windows and a created directory is on a mounted network Solaris drive.

      MiniTest
      --------------------------------------------------
      File workDirAsFile = new File("Z:\\links\\fury-home\\temp\\wd_win\\test_wd");
      workDirAsFile.mkdir();
      System.out.println(Files.isWritable(workDirAsFile.toPath()));
      workDirAsFile.delete();
      --------------------------------------------------

      In this MiniTest "Z:" is mounted network drive with Solaris OS, "Z:\\links\\fury-home\\temp\\wd_win" has 777 permissions.
      Checked with b135.

      For details of failed test see JCK-7306336.

        Attachments

          Activity

            People

            • Assignee:
              evotchen Elena Votchennikova (Inactive)
              Reporter:
              evotchen Elena Votchennikova (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: