From a52d71994302ec4bc0c785614f920471fd41fc6c Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Fri, 13 Oct 2017 16:47:52 +0200 Subject: [PATCH] Fix Java9ModulesIntegrationTest.testDependencyOnReflect Since javac is invoked on a module-info with a reference to the module kotlin.reflect, we need to pass kotlin-reflect.jar in the module path --- .../kotlin/jvm/compiler/Java9ModulesIntegrationTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/tests/org/jetbrains/kotlin/jvm/compiler/Java9ModulesIntegrationTest.kt b/compiler/tests/org/jetbrains/kotlin/jvm/compiler/Java9ModulesIntegrationTest.kt index 37c3c97f8cf..88e291070ad 100644 --- a/compiler/tests/org/jetbrains/kotlin/jvm/compiler/Java9ModulesIntegrationTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/jvm/compiler/Java9ModulesIntegrationTest.kt @@ -259,6 +259,6 @@ class Java9ModulesIntegrationTest : AbstractKotlinCompilerIntegrationTest() { } fun testDependencyOnReflect() { - module("usage") + module("usage", listOf(ForTestCompileRuntime.reflectJarForTests())) } }