From 2ca7d6f3eeb7e69095a78cddb2c8abf34a900671 Mon Sep 17 00:00:00 2001 From: nik Date: Wed, 5 Apr 2017 17:50:07 +0300 Subject: [PATCH] made field used from Kotlin 'public' to fix tests Sometimes Kotlin code which use this field from inheritors fails with IllegalAccessError. --- .../src/com/intellij/testFramework/LightProjectDescriptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/testFramework/src/com/intellij/testFramework/LightProjectDescriptor.java b/platform/testFramework/src/com/intellij/testFramework/LightProjectDescriptor.java index 6edbba415677..bb5dba424cc7 100644 --- a/platform/testFramework/src/com/intellij/testFramework/LightProjectDescriptor.java +++ b/platform/testFramework/src/com/intellij/testFramework/LightProjectDescriptor.java @@ -46,7 +46,7 @@ import java.io.IOException; public class LightProjectDescriptor { public static final LightProjectDescriptor EMPTY_PROJECT_DESCRIPTOR = new LightProjectDescriptor(); - protected static final String TEST_MODULE_NAME = "light_idea_test_case"; + public static final String TEST_MODULE_NAME = "light_idea_test_case"; public void setUpProject(@NotNull Project project, @NotNull SetupHandler handler) throws Exception { WriteAction.run(() -> {