Add dependency on BouncyCastle for JDK 15+
With a recent upgrade to an early access build for JDK 15, ServerHttpsRequestIntegrationTests began failing since Netty's SelfSignedCertificate could not be properly initialized. This commit adds a test fixture dependency on BouncyCastle which is now needed by Netty's SelfSignedCertificate on JDK 15 or higher, since JDK 15 no longer supports the javax.security.cert.X509Certificate. See: https://bugs.openjdk.java.net/browse/JDK-8241039
This commit is contained in:
@@ -83,4 +83,7 @@ dependencies {
|
||||
testFixturesImplementation("io.projectreactor:reactor-test")
|
||||
testFixturesImplementation("org.apache.taglibs:taglibs-standard-jstlel")
|
||||
testFixturesImplementation("org.assertj:assertj-core")
|
||||
testFixturesImplementation("org.bouncycastle:bcpkix-jdk15on") {
|
||||
because("needed by Netty's SelfSignedCertificate on JDK 15+")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user