Skip to content

Commit

Permalink
Stop using IJ's maps in graph implementation of JPS
Browse files Browse the repository at this point in the history
(cherry picked from commit 6f3204d)
  • Loading branch information
Aleksei.Cherepanov committed Nov 20, 2023
1 parent 363b05b commit f559dd5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,9 @@ class KotlinJvmModuleBuildTarget(kotlinContext: KotlinCompileContext, jpsModuleB
val className = generatedClass.outputClass.className
if (!cache.isMultifileFacade(className)) return emptySet()

// In case of graph implementation of JPS
if (previousMappings == null) return emptySet()

val name = previousMappings.getName(className.internalName)
return previousMappings.getClassSources(name).toSet()
}
Expand Down

0 comments on commit f559dd5

Please sign in to comment.