We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bcf241 commit c9b7da4Copy full SHA for c9b7da4
dd-java-agent/agent-bootstrap/build.gradle
@@ -65,3 +65,11 @@ jmh {
65
jmhVersion = '1.32'
66
duplicateClassesStrategy = DuplicatesStrategy.EXCLUDE
67
}
68
+
69
+project.afterEvaluate {
70
+ tasks.withType(Test).configureEach {
71
+ if (javaLauncher.get().metadata.languageVersion.asInt() >= 16) {
72
+ jvmArgs += ['--add-opens', 'java.base/java.net=ALL-UNNAMED'] // for HostNameResolverForkedTest
73
+ }
74
75
+}
0 commit comments