Minor: Fix the "Could not find installation home path" terminal warning

This commit is contained in:
Yan Zhulanow
2018-07-04 01:35:54 +03:00
parent f6afab1226
commit 00edc007f8
@@ -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,