Skip to content

Commit 6bba115

Browse files
committed
Fix reflective acess
1 parent b05d22b commit 6bba115

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

agent/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ dependencies {
1616
implementation("${pulsarGroup}:pulsar-client:${pulsarVersion}")
1717
}
1818

19+
test {
20+
// see https://junit-pioneer.org/docs/environment-variables/#warnings-for-reflective-access
21+
jvmArgs "--add-opens=java.base/java.util=ALL-UNNAMED"
22+
}
23+
1924
// generate agent parameters documentation
2025
application {
2126
mainClass = "com.datastax.oss.cdc.agent.AgentConfig"

0 commit comments

Comments
 (0)