Minor: Fix the "Could not find installation home path" terminal warning
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package org.jetbrains.kotlin.kapt3.test
|
||||
|
||||
import com.intellij.openapi.application.PathManager
|
||||
import com.intellij.openapi.util.SystemInfoRt
|
||||
import org.jetbrains.kotlin.kapt3.base.util.isJava9OrLater
|
||||
import org.jetbrains.kotlin.test.KotlinTestUtils
|
||||
@@ -46,6 +47,7 @@ interface Java9TestLauncher {
|
||||
javaExe.absolutePath,
|
||||
"--illegal-access=warn",
|
||||
"-ea",
|
||||
"-D${PathManager.PROPERTY_HOME_PATH}=${PathManager.getHomePath()}",
|
||||
"-classpath",
|
||||
classpath.joinToString(File.pathSeparator),
|
||||
mainClass.name,
|
||||
|
||||
Reference in New Issue
Block a user