summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2021-11-03 23:10:46 +0100
committerGitHub <noreply@github.com>2021-11-03 23:10:46 +0100
commit7e43b15f2e427ac08af82e2292e8649328f729e5 (patch)
treee5d3b37c680b982c997869641fa933484fe5e470
parent7ea4faf2616c7937fa2e4ff07e739af523627d44 (diff)
parent4db123bcb5a707628038a9ff4db4d64a00267c32 (diff)
Merge pull request #19853 from vespa-engine/jdk17-jaxrs_client_utils
Open java.base/java.net to the unnamed module
-rw-r--r--jaxrs_client_utils/pom.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/jaxrs_client_utils/pom.xml b/jaxrs_client_utils/pom.xml
index 93aa9a50e9d..7182f2c53cc 100644
--- a/jaxrs_client_utils/pom.xml
+++ b/jaxrs_client_utils/pom.xml
@@ -103,6 +103,16 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- Illegal reflective access by HttpPatchTest via JerseyInvocation -->
+ <argLine>
+ --add-opens=java.base/java.net=ALL-UNNAMED
+ </argLine>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>