Skip to content

Commit

Permalink
Set up JDK classpath roots explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
vmishenev committed May 24, 2022
1 parent 2e4b27f commit cba4b53
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ class AnalysisEnvironment(val messageCollector: MessageCollector, val analysisPl

init {
configuration.put(CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY, messageCollector)

// Set up JDK classpath roots explicitly because of https://github.com/JetBrains/kotlin/commit/f89765eb33dd95c8de33a919cca83651b326b246
configuration.configureJdkClasspathRoots()
}

fun createCoreEnvironment(): KotlinCoreEnvironment {
Expand Down

0 comments on commit cba4b53

Please sign in to comment.