aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2021-11-01 16:24:07 +0100
committerGitHub <noreply@github.com>2021-11-01 16:24:07 +0100
commiteab021943490010c68d2ae08698f8ec7cac4b308 (patch)
treeed6298d1e4742fb595e7f3b2ddfe87b5ca87cd16
parent17fbfda757924a90ea71c9260ea22eab1a7c3949 (diff)
parentd55cbcb40f60d6d63d741126eabc6c7bf4d8d9dd (diff)
Merge pull request #19818 from vespa-engine/jdk17-vespajlib
Open java.base/java.io to the unnamed module (used by NativeIO)
-rw-r--r--vespajlib/pom.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/vespajlib/pom.xml b/vespajlib/pom.xml
index 7be95661d9a..236e33b3a70 100644
--- a/vespajlib/pom.xml
+++ b/vespajlib/pom.xml
@@ -122,6 +122,16 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- Illegal reflective access by com.yahoo.io.NativeIO -->
+ <argLine>
+ --add-opens=java.base/java.io=ALL-UNNAMED
+ </argLine>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>com.yahoo.vespa</groupId>
<artifactId>abi-check-plugin</artifactId>
</plugin>