Better jar names for runtime/builtins/jdk-annotations in tests.
This commit is contained in:
+2
-2
@@ -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");
|
||||
|
||||
|
||||
+2
-2
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user