Skip to content

Commit

Permalink
[C] Add --add-opens java.base/jdk.internal.misc=ALL-UNNAMED when st…
Browse files Browse the repository at this point in the history
…arting Archive in the tests.
  • Loading branch information
vyazelenko committed Dec 18, 2024
1 parent 3e38335 commit 3938474
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions aeron-archive/src/test/c/TestArchive.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ class TestArchive
{
"java",
"--add-opens",
"java.base/jdk.internal.misc=ALL-UNNAMED",
"--add-opens",
"java.base/java.util.zip=ALL-UNNAMED",
#if ENABLE_AGENT_DEBUG_LOGGING
m_aeronAgentJar.c_str(),
Expand Down
6 changes: 4 additions & 2 deletions aeron-archive/src/test/cpp/TestArchive.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,13 @@ class TestArchive
{
"java",
"--add-opens",
"java.base/jdk.internal.misc=ALL-UNNAMED",
"--add-opens",
"java.base/java.util.zip=ALL-UNNAMED",
#if ENABLE_AGENT_DEBUG_LOGGING
m_aeronAgentJar.c_str(),
"-Daeron.event.log=admin",
"-Daeron.event.archive.log=all",
"-Daeron.event.log=admin",
"-Daeron.event.archive.log=all",
#endif
"-Daeron.dir.delete.on.start=true",
"-Daeron.dir.delete.on.shutdown=true",
Expand Down
6 changes: 4 additions & 2 deletions aeron-archive/src/test/cpp_wrapper/TestArchive.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,13 @@ class TestArchive
{
"java",
"--add-opens",
"java.base/jdk.internal.misc=ALL-UNNAMED",
"--add-opens",
"java.base/java.util.zip=ALL-UNNAMED",
#if ENABLE_AGENT_DEBUG_LOGGING
m_aeronAgentJar.c_str(),
"-Daeron.event.log=admin",
"-Daeron.event.archive.log=all",
"-Daeron.event.log=admin",
"-Daeron.event.archive.log=all",
#endif
"-Daeron.dir.delete.on.start=true",
"-Daeron.dir.delete.on.shutdown=true",
Expand Down

0 comments on commit 3938474

Please sign in to comment.