8265225: jdk/jfr/tool/TestConfigure.java fails to cleanup the output files after the testing

Reviewed-by: egahlin
This commit is contained in:
Jie Fu 2021-04-15 06:35:33 +00:00
parent 7c6e3796ef
commit b224b56649

View File

@ -343,7 +343,7 @@ public class TestConfigure {
}
private static String newOutputFile(String filename) {
return Path.of(DIR, System.currentTimeMillis() + filename).toAbsolutePath().toString();
return Path.of(".", System.currentTimeMillis() + filename).toAbsolutePath().toString();
}
private static void aseertEqual(Map<String, String> output, Map<String, String> expected) throws Exception {