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

java/nio/file/FileStore/Basic.java fails with java.io.IOException: Mount point not found

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 10
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      java/nio/file/FileStore/Basic.java fails with java.io.IOException: Mount point not found

      java.io.IOException: Mount point not found
      at java.base/sun.nio.fs.LinuxFileStore.findMountEntry(LinuxFileStore.java:91)
      at java.base/sun.nio.fs.UnixFileStore.<init>(UnixFileStore.java:65)
      at java.base/sun.nio.fs.LinuxFileStore.<init>(LinuxFileStore.java:44)
      at java.base/sun.nio.fs.LinuxFileSystemProvider.getFileStore(LinuxFileSystemProvider.java:51)
      at java.base/sun.nio.fs.LinuxFileSystemProvider.getFileStore(LinuxFileSystemProvider.java:39)
      at java.base/sun.nio.fs.UnixFileSystemProvider.getFileStore(UnixFileSystemProvider.java:369)
      at java.base/java.nio.file.Files.getFileStore(Files.java:1479)
      at Basic.doTests(Basic.java:77)
      at Basic.main(Basic.java:49)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)

        Issue Links

          Activity

          Hide
          mli Hamlin Li added a comment - - edited
          it's reproducible.
          I think this is a test issue on docker environment(as below).

          # cat initial.DockerFile
          FROM oel:7.4
          ...
          Show
          mli Hamlin Li added a comment - - edited it's reproducible. I think this is a test issue on docker environment(as below). # cat initial.DockerFile FROM oel:7.4 ...
          Hide
          alanb Alan Bateman added a comment -
          I suspect this is the same issue as JDK-8165852.
          Show
          alanb Alan Bateman added a comment - I suspect this is the same issue as JDK-8165852 .

            People

            • Assignee:
              mli Hamlin Li
              Reporter:
              mli Hamlin Li
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: