@@ -29,7 +29,6 @@ import org.utbot.features.FeatureExtractorFactoryImpl
2929import org.utbot.features.FeatureProcessorWithStatesRepetitionFactory
3030import org.utbot.framework.PathSelectorType
3131import org.utbot.framework.UtSettings
32- import org.utbot.framework.plugin.api.util.UtContext
3332import org.utbot.framework.plugin.api.util.id
3433import org.utbot.framework.plugin.api.util.withUtContext
3534import org.utbot.framework.plugin.services.JdkInfoService
@@ -47,7 +46,7 @@ private val javaHome = System.getenv("JAVA_HOME")
4746private val javacCmd = " $javaHome /bin/javac"
4847private val javaCmd = " $javaHome /bin/java"
4948
50- private const val triesToCompile = 2
49+ private const val compileAttempts = 2
5150
5251private data class UnnamedPackageInfo (val pack : String , val module : String )
5352
@@ -64,7 +63,7 @@ private fun compileClass(testDir: String, classPath: String, testClass: String):
6463 val exports = mutableSetOf<UnnamedPackageInfo >()
6564 var exitCode = 0
6665
67- repeat(triesToCompile ) { tryNumber ->
66+ repeat(compileAttempts ) { attemptNumber ->
6867 val cmd = arrayOf(
6968 javacCmd,
7069 * exports.flatMap {
@@ -76,7 +75,7 @@ private fun compileClass(testDir: String, classPath: String, testClass: String):
7675 " -XDignore.symbol.file" ,
7776 testClass
7877 )
79- logger.debug { " Compile try ${tryNumber + 1 } " }
78+ logger.debug { " Compile attempt ${attemptNumber + 1 } " }
8079
8180 logger.trace { cmd.toText() }
8281
0 commit comments