diff options
author | gjoranv <gv@verizonmedia.com> | 2021-11-04 12:08:30 +0100 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2021-11-04 12:35:01 +0100 |
commit | bb4df4e8255e1d3e95ce29a576536eda86b3bdf4 (patch) | |
tree | 44d6feb713544ed940ddc915a721e52c8a9a6705 /container-core/pom.xml | |
parent | f3525843766bbb42d5c26eb78a85f6c1dd560b30 (diff) |
Open java.base/java.io to the unnamed module
- used by LogFileHandler via NativeIO
Diffstat (limited to 'container-core/pom.xml')
-rw-r--r-- | container-core/pom.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/container-core/pom.xml b/container-core/pom.xml index 8e3c700628a..7e4198bad0d 100644 --- a/container-core/pom.xml +++ b/container-core/pom.xml @@ -369,6 +369,17 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <!-- Illegal reflective access by LogFileHandler via com.yahoo.io.NativeIO --> + <argLine> + --add-opens=java.base/java.io=ALL-UNNAMED + </argLine> + </configuration> + </plugin> + </plugins> <outputDirectory>${buildOutputDirectory}</outputDirectory> </build> |