diff --git a/buildSrc/src/main/java/org/springframework/boot/build/toolchain/ToolchainPlugin.java b/buildSrc/src/main/java/org/springframework/boot/build/toolchain/ToolchainPlugin.java index 3f28e09e9a..ea2b29f41d 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/toolchain/ToolchainPlugin.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/toolchain/ToolchainPlugin.java @@ -17,6 +17,7 @@ package org.springframework.boot.build.toolchain; import java.util.Arrays; +import java.util.Collections; import java.util.List; import org.gradle.api.Plugin; @@ -85,9 +86,7 @@ public class ToolchainPlugin implements Plugin { private void configureTestToolchain(Project project, ToolchainExtension toolchain) { project.getTasks().withType(Test.class, (test) -> { - // See https://github.com/spring-projects/spring-ldap/issues/570 - List arguments = Arrays.asList("--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED", - "--illegal-access=warn"); + List arguments = Collections.singletonList("--illegal-access=warn"); test.jvmArgs(arguments); }); } diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 3923f4331f..2f1a6394f3 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1594,7 +1594,7 @@ bom { ] } } - library("Spring LDAP", "2.3.3.RELEASE") { + library("Spring LDAP", "2.3.4.BUILD-SNAPSHOT") { group("org.springframework.ldap") { modules = [ "spring-ldap-core",