From 956bf0107e069e3a4fa954c982eb7e0cb9e0a787 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Mon, 9 Apr 2012 00:07:53 +0400 Subject: [PATCH] missed field name --- .../jet/codegen/forTestCompile/ForTestCompileRuntime.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileRuntime.java b/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileRuntime.java index 2c8695de3bd..93c7716fad4 100644 --- a/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileRuntime.java +++ b/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileRuntime.java @@ -43,7 +43,7 @@ import java.util.jar.JarOutputStream; * @author Stepan Koltsov */ public class ForTestCompileRuntime { - private static File stdlibJarFile; + private static File runtimeJarFile; private ForTestCompileRuntime() { } @@ -149,15 +149,15 @@ public class ForTestCompileRuntime { if (compilationException != null) { throw new RuntimeException("runtime compilation failed in previous tests: " + compilationException, compilationException); } - if (stdlibJarFile == null || !stdlibJarFile.exists()) { + if (runtimeJarFile == null || !runtimeJarFile.exists()) { try { - stdlibJarFile = doCompile(); + runtimeJarFile = doCompile(); } catch (Throwable e) { compilationException = e; throw new RuntimeException(e); } } - return stdlibJarFile; + return runtimeJarFile; } }