Better jar names for runtime/builtins/jdk-annotations in tests.

This commit is contained in:
Evgeny Gerashchenko
2013-01-14 20:36:40 +04:00
parent b1fd1d8301
commit b1847698a8
2 changed files with 4 additions and 4 deletions
@@ -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");
@@ -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));