From b224b566491eb4d41b6ae3723fdf97b632218cfa Mon Sep 17 00:00:00 2001 From: Jie Fu Date: Thu, 15 Apr 2021 06:35:33 +0000 Subject: [PATCH] 8265225: jdk/jfr/tool/TestConfigure.java fails to cleanup the output files after the testing Reviewed-by: egahlin --- test/jdk/jdk/jfr/tool/TestConfigure.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jdk/jdk/jfr/tool/TestConfigure.java b/test/jdk/jdk/jfr/tool/TestConfigure.java index ae39b0935c5..90f6f39be00 100644 --- a/test/jdk/jdk/jfr/tool/TestConfigure.java +++ b/test/jdk/jdk/jfr/tool/TestConfigure.java @@ -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 output, Map expected) throws Exception {