This is an automated email from the ASF dual-hosted git repository. houston pushed a commit to branch branch_9x in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push: new 3d676178ce3 SOLR-17525: Add test permissions and fix docs 3d676178ce3 is described below commit 3d676178ce317c2db896d6a0229be5281836d9ed Author: Houston Putman <hous...@apache.org> AuthorDate: Mon Jan 6 12:21:35 2025 -0600 SOLR-17525: Add test permissions and fix docs (cherry picked from commit 2728f7a4077f6aa4118dc81b4beacecc53ea2e18) --- solr/modules/llm/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/solr/modules/llm/build.gradle b/solr/modules/llm/build.gradle index 9f8ef218f66..f9660336de6 100644 --- a/solr/modules/llm/build.gradle +++ b/solr/modules/llm/build.gradle @@ -39,3 +39,9 @@ dependencies { testImplementation 'junit:junit' testImplementation 'commons-io:commons-io' } + +// langchain4j has reflection issues, and requires the following permissions +// https://docs.gradle.org/current/userguide/upgrading_version_7.html#removes_implicit_add_opens_for_test_workers +tasks.withType(Test).configureEach { + jvmArgs(["--add-opens=java.base/java.lang.invoke=ALL-UNNAMED"]) +}