ability to compile text and small refactoring

This commit is contained in:
Alex Tkachman
2012-02-23 14:12:03 +02:00
parent 99a13a500c
commit 4ddf101397
8 changed files with 173 additions and 106 deletions
@@ -16,8 +16,6 @@
package org.jetbrains.jet.codegen;
import org.jetbrains.jet.compiler.CompileEnvironment;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URL;
@@ -32,7 +30,7 @@ public class StdlibTest extends CodegenTestCase {
super.setUp();
createEnvironmentWithFullJdk();
myEnvironment.addToClasspath(ForTestCompileStdlib.stdlibJarForTests());
CompileEnvironment.ensureRuntime(myEnvironment);
myEnvironment.ensureRuntime();
}
@Override