Skip to content

Commit c370dec

Browse files
committed
8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows
Reviewed-by: phh, clanger Backport-of: cf93933e21d146fe296b1e4b8e2ef06b699175d6
1 parent 339b93b commit c370dec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/jdk/java/security/SignedJar/spi-calendar-provider/TestSPISigned.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import java.nio.file.Paths;
3434
import java.nio.file.Path;
3535
import java.nio.file.Files;
36+
import java.io.File;
3637
import static java.util.Calendar.WEDNESDAY;
3738

3839
/*
@@ -95,7 +96,7 @@ public static void main(String[] args) throws Throwable {
9596
testRun.add("-Djava.locale.providers=SPI");
9697
testRun.add("-cp");
9798
String classPath = System.getProperty("java.class.path");
98-
classPath = classPath + ":" + SIGNED_JAR.toAbsolutePath().toString();
99+
classPath = classPath + File.pathSeparator + SIGNED_JAR.toAbsolutePath().toString();
99100
testRun.add(classPath);
100101
testRun.add(TestSPISigned.class.getSimpleName());
101102
testRun.add("run-test");

0 commit comments

Comments
 (0)