diff --git a/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileSomething.java b/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileSomething.java index f88df148f8c..ae1c835b0dd 100644 --- a/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileSomething.java +++ b/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileSomething.java @@ -46,9 +46,9 @@ abstract class ForTestCompileSomething { long start = System.currentTimeMillis(); this.jarName = jarName; try { - File tmpDir = JetTestUtils.tmpDir("runtimejar"); + File tmpDir = JetTestUtils.tmpDir("test_jars"); - jarFile = new File(tmpDir, "runtime.jar"); + jarFile = new File(tmpDir, jarName + ".jar"); File classesDir = new File(tmpDir, "classes"); diff --git a/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestPackJdkAnnotations.java b/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestPackJdkAnnotations.java index 523431df99a..1f0cce48e42 100644 --- a/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestPackJdkAnnotations.java +++ b/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestPackJdkAnnotations.java @@ -35,8 +35,8 @@ public class ForTestPackJdkAnnotations { private static File getJarFile() { if (jarFile == null) { try { - File tmpDir = JetTestUtils.tmpDir("runtimejar"); - jarFile = new File(tmpDir, "runtime.jar"); + File tmpDir = JetTestUtils.tmpDir("test_jars"); + jarFile = new File(tmpDir, "jdk-annotations.jar"); FileOutputStream annotationsJar = new FileOutputStream(jarFile); try { JarOutputStream jarOutputStream = new JarOutputStream(new BufferedOutputStream(annotationsJar));