diff --git a/aeron-archive/src/test/c/TestArchive.h b/aeron-archive/src/test/c/TestArchive.h index 1dfc9524b0..dbba873ba1 100644 --- a/aeron-archive/src/test/c/TestArchive.h +++ b/aeron-archive/src/test/c/TestArchive.h @@ -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(), diff --git a/aeron-archive/src/test/cpp/TestArchive.h b/aeron-archive/src/test/cpp/TestArchive.h index fdebc5ba02..a455478e51 100644 --- a/aeron-archive/src/test/cpp/TestArchive.h +++ b/aeron-archive/src/test/cpp/TestArchive.h @@ -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", diff --git a/aeron-archive/src/test/cpp_wrapper/TestArchive.h b/aeron-archive/src/test/cpp_wrapper/TestArchive.h index 84c58d09d8..b49a830c26 100644 --- a/aeron-archive/src/test/cpp_wrapper/TestArchive.h +++ b/aeron-archive/src/test/cpp_wrapper/TestArchive.h @@ -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",