mjsax commented on code in PR #22288:
URL: https://github.com/apache/kafka/pull/22288#discussion_r3244896973


##########
build.gradle:
##########
@@ -2623,6 +2607,12 @@ project(':tools') {
 
   configurations {
     releaseOnly
+    // ApacheDS 2.0.0-M24 pulls in the stale bcprov-jdk15on:1.56, which ships 
the same
+    // RosstandartObjectIdentifiers class as the modern bcprov-jdk18on we 
already depend on
+    // but is missing fields referenced by bcpkix-jdk18on:1.84. When 
IntelliJ's test runner
+    // orders the old JAR first, BC provider registration fails with 
NoSuchFieldError. Drop it.
+    testCompileClasspath.exclude group: 'org.bouncycastle', module: 
'bcprov-jdk15on'
+    testRuntimeClasspath.exclude group: 'org.bouncycastle', module: 
'bcprov-jdk15on'

Review Comment:
   I couldn't run `ConfigCommandIntegrationTest` inside IntelliJ, I failed with 
`java.lang.NoSuchFieldError: id_tc26_signwithdigest_gost_3410_12_256`. -- This 
would be a fix for it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to