This is an automated email from the ASF dual-hosted git repository. jdaugherty pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/grails-intellij-plugin.git
commit 1e1c40be8bc4c796964d5656a2eaa7b16a3cd24a Author: James Daugherty <[email protected]> AuthorDate: Sat Jul 18 21:26:56 2026 -0400 Add 2026.2 EelTestJdkProvider overload --- .../intellij/platform/testFramework/eelJava/EelTestJdkProvider.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testFramework/src/com/intellij/platform/testFramework/eelJava/EelTestJdkProvider.kt b/testFramework/src/com/intellij/platform/testFramework/eelJava/EelTestJdkProvider.kt index fd4e42f..b1c46ab 100644 --- a/testFramework/src/com/intellij/platform/testFramework/eelJava/EelTestJdkProvider.kt +++ b/testFramework/src/com/intellij/platform/testFramework/eelJava/EelTestJdkProvider.kt @@ -26,6 +26,7 @@ import com.intellij.openapi.projectRoots.impl.jdkDownloader.ReadJdkItemsForWSL import com.intellij.platform.testFramework.eelJava.EelTestUtil.getEelFixtureEngineJavaHome import com.intellij.platform.testFramework.eelJava.EelTestUtil.getFixtureEngine import com.intellij.platform.testFramework.eelJava.EelTestUtil.getTeamcityWslJdkDefinition +import com.intellij.platform.eel.EelDescriptor import org.jetbrains.annotations.ApiStatus import java.nio.file.Path import kotlin.io.path.exists @@ -35,6 +36,11 @@ object EelTestJdkProvider { private val LOG = logger<EelTestJdkProvider>() + // 2026.2 platform test-framework code calls this overload; for local (non-eel) runs + // the platform implementation returns null, matching the no-arg variant below + @JvmStatic + fun getJdkPath(eelDescriptor: EelDescriptor): Path? = getJdkPath() + @JvmStatic fun getJdkPath(): Path? { val engine = getFixtureEngine()
