aboutsummaryrefslogtreecommitdiffstats
path: root/hosted-tenant-base
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2021-11-11 20:11:38 +0100
committergjoranv <gv@verizonmedia.com>2021-11-11 20:15:15 +0100
commite84c41cb9dc324f72dd2cf9d590c13ee890c8c9d (patch)
treef92e72dbc71dabfc115cabfef2cb2820257b02c1 /hosted-tenant-base
parentdb842ccc0b246d454f90c6ff8fefec854a7e407e (diff)
add-opens for NativeIO for tenant/sample-apps unit tests.
Diffstat (limited to 'hosted-tenant-base')
-rw-r--r--hosted-tenant-base/pom.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml
index 739b8e60a9f..a5ca00659d6 100644
--- a/hosted-tenant-base/pom.xml
+++ b/hosted-tenant-base/pom.xml
@@ -130,6 +130,10 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
+ <!-- Illegal reflective access by LogFileHandler via com.yahoo.io.NativeIO -->
+ <argLine>
+ --add-opens=java.base/java.io=ALL-UNNAMED
+ </argLine>
<groups>${test.categories}</groups>
<redirectTestOutputToFile>false</redirectTestOutputToFile>
<trimStackTrace>false</trimStackTrace>