We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4ae6eb commit 9bb974fCopy full SHA for 9bb974f
instrumentation/apache-httpclient/apache-httpclient-4.3/testing/build.gradle.kts
@@ -2,6 +2,16 @@ plugins {
2
id("otel.java-conventions")
3
}
4
5
+tasks {
6
+ compileJava {
7
+ // when code is compiled with jdk 21 and executed with jdk 8 -parameters flag is needed to avoid
8
+ // java.lang.reflect.MalformedParametersException: Invalid parameter name ""
9
+ // when junit calls java.lang.reflect.Executable.getParameters() on the constructor of a
10
+ // non-static nested test class
11
+ options.compilerArgs.add("-parameters")
12
+ }
13
+}
14
+
15
dependencies {
16
api(project(":testing-common"))
17
0 commit comments