Test java/io/File/GetXSpace.java failed: The system cannot find the path specified

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 26
    • Component/s: core-libs
    • windows

      Unfortunately it doesn't indicate what path it was looking for.

      command: main GetXSpace
      reason: User specified action: run main/othervm/native GetXSpace
      started: Sat Nov 22 02:09:45.448 UTC 2025
      Mode: othervm [/othervm specified]
      Process id: 10068
      finished: Sat Nov 22 02:09:45.745 UTC 2025
      elapsed time (seconds): 0.297
      ----------configuration:(0/0)----------
      ----------System.out:(14/755)*----------
      --- Testing volumes
      Total bytes : 161,051,996,160 (150.0 GB)
      Total quota free bytes : 65,480,388,608 ( 61.0 GB)
      Unavailable pool bytes : 0 ( 0.0 KB)
      Quota unavailable pool bytes : 0 ( 0.0 KB)
      Used bytes : 95,551,758,336 ( 89.0 GB)
      Total Reserved bytes : 19,849,216 ( 18.9 MB)
      Volume storage reserved bytes : 0 ( 0.0 KB)
      Available committed bytes : 0 ( 0.0 KB)
      Pool available bytes : 0 ( 0.0 KB)

      C:\\ (161051996160):
        getSpace0 total = 161051996160 free = 65480347648 usable = 65480347648
        getXSpace total = 161051996160 free = 65480347648 usable = 65480347648
      ----------System.err:(19/1288)----------
      WARNING: A restricted method in java.lang.System has been called
      WARNING: java.lang.System::loadLibrary has been called by GetXSpace in an unnamed module (file:/C:/sb/prod/1763777204/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/3/java/io/File/GetXSpace.d/)
      WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
      WARNING: Restricted methods will be blocked in a future release unless native access is enabled

      java.lang.RuntimeException: The system cannot find the path specified
      at GetXSpace.getSpace0(Native Method)
      at GetXSpace$Space.<init>(GetXSpace.java:117)
      at GetXSpace.testVolumes(GetXSpace.java:353)
      at GetXSpace.main(GetXSpace.java:384)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1516)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: The system cannot find the path specified
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: The system cannot find the path specified

      Platform: Windows

            Assignee:
            Unassigned
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: