kotlin runtime must be added to classpath

(not just to library root)
This commit is contained in:
Stepan Koltsov
2012-05-01 17:39:56 +04:00
parent 8278ed8aa5
commit 90910cae34
@@ -72,9 +72,7 @@ public class JetCoreEnvironment extends JavaCoreEnvironment {
}
}
if (compilerSpecialMode.includeKotlinRuntime()) {
for (VirtualFile root : compilerDependencies.getRuntimeRoots()) {
addLibraryRoot(root);
}
addToClasspath(compilerDependencies.getRuntimeJar());
}
JetStandardLibrary.initialize(getProject());