Temporarily disable runtime version consistency checks

To be enabled after the project is fully bootstrapped and default
language version is advanced to 1.6.
This commit is contained in:
Alexander Udalov
2021-07-21 19:18:42 +02:00
committed by Mikhael Bogdanov
parent 95492f7370
commit 6af042c1dd
@@ -267,11 +267,14 @@ class KotlinCoreEnvironment private constructor(
this.initialRoots.addAll(initialRoots)
if (!configuration.getBoolean(JVMConfigurationKeys.SKIP_RUNTIME_VERSION_CHECK) && messageCollector != null) {
/*
// Temporarily disable until compiler is bootstrapped to 1.6.
JvmRuntimeVersionsConsistencyChecker.checkCompilerClasspathConsistency(
messageCollector,
configuration,
initialRoots.mapNotNull { (file, type) -> if (type == JavaRoot.RootType.BINARY) file else null }
)
*/
}
val (roots, singleJavaFileRoots) =