diff --git a/compiler/tests-common/tests/org/jetbrains/kotlin/test/KotlinTestUtils.java b/compiler/tests-common/tests/org/jetbrains/kotlin/test/KotlinTestUtils.java index 63a4df40a35..95ff1f8eb8f 100644 --- a/compiler/tests-common/tests/org/jetbrains/kotlin/test/KotlinTestUtils.java +++ b/compiler/tests-common/tests/org/jetbrains/kotlin/test/KotlinTestUtils.java @@ -120,7 +120,7 @@ public class KotlinTestUtils { static { try { - IDEA_SYSTEM_PATH = tmpDirForReusableFolder("idea-system").getPath(); + IDEA_SYSTEM_PATH = FileUtil.createTempDirectory(new File(System.getProperty("java.io.tmpdir")), "idea-system", "", false).getPath(); } catch (IOException e) { throw new RuntimeException(e);