Skip to content

Commit d211adf

Browse files
committed
[rd-factoring]
review fix
1 parent 6cecfef commit d211adf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/process/EngineProcess.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ class EngineProcess private constructor(val project: Project, rdProcess: Process
111111
private fun obtainEngineProcessCommandLine(port: Int) = buildList {
112112
add(javaExecutablePathString.pathString)
113113
add("-ea")
114-
val javaVersionSpecificArgs = vaOpenModulesContainer.javaVersionSpecificArguments
114+
val javaVersionSpecificArgs = OpenModulesContainer.javaVersionSpecificArguments
115115
if (javaVersionSpecificArgs.isNotEmpty()) {
116-
addAll(it)
116+
addAll(javaVersionSpecificArgs)
117117
}
118118
debugArgument?.let { add(it) }
119119
add(log4j2ConfigSwitch)

utbot-rd/src/main/kotlin/org/utbot/rd/exceptions/InstantProcessDeathException.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package org.utbot.rd.exceptions
22

33
/**
4-
* This exception is designed to be thrown any time you start child process,
5-
* but
4+
* This exception is designed to be thrown any time you start child process with rd,
5+
* but it dies before rd initiated, implicating that the problem probably in CLI arguments
66
*/
77
abstract class InstantProcessDeathException(private val debugPort: Int, private val isProcessDebug: Boolean) : Exception() {
88
override val message: String?

0 commit comments

Comments
 (0)