From 00edc007f82c8727ca59feccdb294dd13faccad2 Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Wed, 4 Jul 2018 01:35:54 +0300 Subject: [PATCH] Minor: Fix the "Could not find installation home path" terminal warning --- .../test/org/jetbrains/kotlin/kapt3/test/java9TestUtils.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/kapt3/kapt3-compiler/test/org/jetbrains/kotlin/kapt3/test/java9TestUtils.kt b/plugins/kapt3/kapt3-compiler/test/org/jetbrains/kotlin/kapt3/test/java9TestUtils.kt index d8a92693ee3..cf6d699de63 100644 --- a/plugins/kapt3/kapt3-compiler/test/org/jetbrains/kotlin/kapt3/test/java9TestUtils.kt +++ b/plugins/kapt3/kapt3-compiler/test/org/jetbrains/kotlin/kapt3/test/java9TestUtils.kt @@ -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,