From dd42420a1e6095524c9df39e5cd2b4da9d76f8bb Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Mon, 26 Sep 2016 15:53:37 +0300 Subject: [PATCH] Revert using temp directory for building debugger application by default (cherry picked from commit f131be0) --- .../jetbrains/kotlin/idea/debugger/KotlinDebuggerTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinDebuggerTestCase.java b/idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinDebuggerTestCase.java index bbeb99b0563..adef6649235 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinDebuggerTestCase.java +++ b/idea/tests/org/jetbrains/kotlin/idea/debugger/KotlinDebuggerTestCase.java @@ -68,7 +68,7 @@ public abstract class KotlinDebuggerTestCase extends DescriptorTestCase { private static boolean IS_TINY_APP_COMPILED = false; // Delete LOCAL_CACHE_DIR to invalidate caches - private static final boolean LOCAL_CACHE_REUSE = true; + private static final boolean LOCAL_CACHE_REUSE = false; private static final File LOCAL_CACHE_DIR = new File("out/debuggerTinyApp"); private static final File LOCAL_CACHE_JAR_DIR = new File(LOCAL_CACHE_DIR, "jar"); @@ -176,6 +176,7 @@ public abstract class KotlinDebuggerTestCase extends DescriptorTestCase { File jarDir; try { + //noinspection ConstantConditions jarDir = LOCAL_CACHE_REUSE ? LOCAL_CACHE_DIR : KotlinTestUtils.tmpDir("debuggerCustomLibrary"); } catch (IOException e) {