[CLI] K2JVMCompilerArguments: Model modulePath as Array<String>

to allow interning individual file-path arguments on the IDE

KTIJ-24976
This commit is contained in:
Sebastian Sellmair
2023-04-03 09:29:25 +02:00
committed by Space Team
parent 9dcd40d7b7
commit fb66764c4d
5 changed files with 13 additions and 7 deletions
@@ -77,7 +77,7 @@ abstract class AbstractFrontendModularizedTest : AbstractModularizedTest() {
if (originalArguments != null) {
configuration.put(JVMConfigurationKeys.NO_JDK, originalArguments.noJdk)
for (modularRoot in originalArguments.javaModulePath?.split(File.pathSeparatorChar).orEmpty()) {
for (modularRoot in originalArguments.javaModulePath.orEmpty()) {
configuration.add(CLIConfigurationKeys.CONTENT_ROOTS, JvmModulePathRoot(modularRoot.fixPath()))
}