summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-04-08 16:09:00 +0200
committerGitHub <noreply@github.com>2022-04-08 16:09:00 +0200
commitdb9e570a36decb24e6cb13f44bd0ff444ab762e3 (patch)
treed1592c6ed5f01ad1c820c403b8a9590373944b66
parent472db7a0c4756570ad9741c230c6a8181e550e25 (diff)
parent4b7588871873aae971add63122b19374d0d4a5cd (diff)
Merge pull request #22041 from vespa-engine/remove-add-opens
Remove add-opens for unit tests that were added for NativeIO
-rw-r--r--application/pom.xml4
-rw-r--r--container-core/pom.xml10
-rw-r--r--controller-server/pom.xml11
-rw-r--r--hosted-tenant-base/pom.xml4
4 files changed, 0 insertions, 29 deletions
diff --git a/application/pom.xml b/application/pom.xml
index c9e8d767ab5..f1856e8c85c 100644
--- a/application/pom.xml
+++ b/application/pom.xml
@@ -157,10 +157,6 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkCount>2</forkCount>
- <!-- Illegal reflective access by LogFileHandler via com.yahoo.io.NativeIO -->
- <argLine>
- --add-opens=java.base/java.io=ALL-UNNAMED
- </argLine>
</configuration>
</plugin>
<plugin>
diff --git a/container-core/pom.xml b/container-core/pom.xml
index 910781f4e7d..7b1b6195879 100644
--- a/container-core/pom.xml
+++ b/container-core/pom.xml
@@ -375,16 +375,6 @@
</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>
diff --git a/controller-server/pom.xml b/controller-server/pom.xml
index ca8951124ef..5697d849b0f 100644
--- a/controller-server/pom.xml
+++ b/controller-server/pom.xml
@@ -246,17 +246,6 @@
<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 LogFileHandler via com.yahoo.io.NativeIO -->
- <argLine>
- --add-opens=java.base/java.io=ALL-UNNAMED
- </argLine>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml
index 696c76d96b5..1142470d6d4 100644
--- a/hosted-tenant-base/pom.xml
+++ b/hosted-tenant-base/pom.xml
@@ -130,10 +130,6 @@
<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>