8204517: [Graal] org.graalvm.compiler.debug.test.VersionsTest fails with InvalidPathException on windows
Reviewed-by: kvn
This commit is contained in:
parent
6c7c6c7190
commit
16cb20cfbd
@ -27,6 +27,8 @@ package org.graalvm.compiler.debug.test;
|
||||
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 @@ public class VersionsTest {
|
||||
}
|
||||
|
||||
@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));
|
||||
}
|
||||
|
@ -184,5 +184,4 @@ org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user