missed field name
This commit is contained in:
@@ -43,7 +43,7 @@ import java.util.jar.JarOutputStream;
|
|||||||
* @author Stepan Koltsov
|
* @author Stepan Koltsov
|
||||||
*/
|
*/
|
||||||
public class ForTestCompileRuntime {
|
public class ForTestCompileRuntime {
|
||||||
private static File stdlibJarFile;
|
private static File runtimeJarFile;
|
||||||
|
|
||||||
private ForTestCompileRuntime() {
|
private ForTestCompileRuntime() {
|
||||||
}
|
}
|
||||||
@@ -149,15 +149,15 @@ public class ForTestCompileRuntime {
|
|||||||
if (compilationException != null) {
|
if (compilationException != null) {
|
||||||
throw new RuntimeException("runtime compilation failed in previous tests: " + compilationException, compilationException);
|
throw new RuntimeException("runtime compilation failed in previous tests: " + compilationException, compilationException);
|
||||||
}
|
}
|
||||||
if (stdlibJarFile == null || !stdlibJarFile.exists()) {
|
if (runtimeJarFile == null || !runtimeJarFile.exists()) {
|
||||||
try {
|
try {
|
||||||
stdlibJarFile = doCompile();
|
runtimeJarFile = doCompile();
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
compilationException = e;
|
compilationException = e;
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return stdlibJarFile;
|
return runtimeJarFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user