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

[Graal] org.graalvm.compiler.debug.test.VersionsTest fails with InvalidPathException on windows

XMLWordPrintable

    • b21

        org.graalvm.compiler.debug.test.VersionsTest fails with InvalidPathException on windows due to improper "file:/" path used.

        1) emptyWithNullProperties(org.graalvm.compiler.debug.test.VersionsTest)
        java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/
        at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
        at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
        at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
        at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
        at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
        at java.base/java.nio.file.Path.of(Path.java:147)
        at java.base/java.nio.file.Paths.get(Paths.java:69)
        at org.graalvm.compiler.debug.test.VersionsTest.emptyWithNullProperties(VersionsTest.java:89)

        2) emptyProperties(org.graalvm.compiler.debug.test.VersionsTest)
        java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/
        at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
        at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
        at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
        at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
        at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
        at java.base/java.nio.file.Path.of(Path.java:147)
        at java.base/java.nio.file.Paths.get(Paths.java:69)
        at org.graalvm.compiler.debug.test.VersionsTest.emptyProperties(VersionsTest.java:82)

              iignatyev Igor Ignatyev (Inactive)
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: