# HG changeset patch # User iignatyev # Date 1530305049 25200 # Node ID 78711bd05b5aff1c65bf873151a80f801951399e # Parent 07498f5b6a96c9e5fb24bdd1e1aa60c510f91fa5 8204517: [Graal] org.graalvm.compiler.debug.test.VersionsTest fails with InvalidPathException on windows Reviewed-by: kvn diff -r 07498f5b6a96 -r 78711bd05b5a src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug.test/src/org/graalvm/compiler/debug/test/VersionsTest.java --- a/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug.test/src/org/graalvm/compiler/debug/test/VersionsTest.java Fri Jun 29 13:43:35 2018 -0700 +++ b/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug.test/src/org/graalvm/compiler/debug/test/VersionsTest.java Fri Jun 29 13:44:09 2018 -0700 @@ -27,6 +27,8 @@ import java.io.File; import java.io.FileWriter; import java.io.IOException; +import java.net.URI; +import java.net.URISyntaxException; import java.nio.file.FileVisitResult; import java.nio.file.FileVisitor; import java.nio.file.Files; @@ -80,15 +82,15 @@ } @Test - public void emptyProperties() { - Path root = Paths.get("file:/"); + public void emptyProperties() throws URISyntaxException { + Path root = Paths.get(new URI("file:/")); Versions v = new Versions(root); assertEmpty(v.withVersions(null)); } @Test - public void emptyWithNullProperties() { - Path root = Paths.get("file:/"); + public void emptyWithNullProperties() throws URISyntaxException { + Path root = Paths.get(new URI("file:/")); Versions v = new Versions(root); assertEmpty(v.withVersions(null)); } diff -r 07498f5b6a96 -r 78711bd05b5a test/hotspot/jtreg/ProblemList-graal.txt --- a/test/hotspot/jtreg/ProblemList-graal.txt Fri Jun 29 13:43:35 2018 -0700 +++ b/test/hotspot/jtreg/ProblemList-graal.txt Fri Jun 29 13:44:09 2018 -0700 @@ -184,5 +184,4 @@ org.graalvm.compiler.core.test.deopt.CompiledMethodTest 8202955 org.graalvm.compiler.core.test.CountedLoopTest 8199885 org.graalvm.compiler.debug.test.DebugContextTest 8203504 -org.graalvm.compiler.debug.test.VersionsTest 8204517 org.graalvm.compiler.core.test.VerifyDebugUsageTest 8205078