kotlin runtime must be added to classpath

(not just to library root)
This commit is contained in:
Stepan Koltsov
2012-05-01 23:49:19 +04:00
parent b109ac5ad4
commit 518f50692f
@@ -78,9 +78,7 @@ public class JetCoreEnvironment extends JavaCoreEnvironment {
}
}
if (compilerSpecialMode.includeKotlinRuntime()) {
for (VirtualFile root : compilerDependencies.getRuntimeRoots()) {
addLibraryRoot(root);
}
addToClasspath(compilerDependencies.getRuntimeJar());
}
JetStandardLibrary.initialize(getProject());