8231317: jdk/jfr/jcmd/TestJcmdConfigure.java fails with "java.lang.RuntimeException: assertTrue: expected true, was false"
Reviewed-by: ysuenaga, dcubed
--- a/test/jdk/ProblemList.txt Wed Sep 25 12:33:05 2019 +0200
+++ b/test/jdk/ProblemList.txt Wed Sep 25 20:32:56 2019 +0900
@@ -884,7 +884,6 @@
jdk/jfr/event/io/EvilInstrument.java 8221331 generic-all
jdk/jfr/event/runtime/TestNetworkUtilizationEvent.java 8228990,8229370 generic-all
jdk/jfr/event/compiler/TestCodeSweeper.java 8225209 generic-all
-jdk/jfr/jcmd/TestJcmdConfigure.java 8231317 windows-x64
############################################################################
--- a/test/jdk/jdk/jfr/jcmd/TestJcmdConfigure.java Wed Sep 25 12:33:05 2019 +0200
+++ b/test/jdk/jdk/jfr/jcmd/TestJcmdConfigure.java Wed Sep 25 20:32:56 2019 +0900
@@ -25,6 +25,7 @@
package jdk.jfr.jcmd;
+import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
@@ -56,8 +57,8 @@
private static final String SAMPLE_THREADS = "samplethreads";
private static final String UNSUPPORTED_OPTION = "unsupportedoption";
- private static final String REPOSITORYPATH_1 = "./repo1";
- private static final String REPOSITORYPATH_2 = "./repo2";
+ private static final String REPOSITORYPATH_1 = "." + File.pathSeparator + "repo1";
+ private static final String REPOSITORYPATH_2 = "." + File.pathSeparator + "repo2";
private static final String REPOSITORYPATH_SETTING_1 = "repositorypath="+REPOSITORYPATH_1;
private static final String REPOSITORYPATH_SETTING_2 = "repositorypath="+REPOSITORYPATH_2;