summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2022-04-07 17:24:01 +0200
committergjoranv <gv@verizonmedia.com>2022-04-07 17:24:01 +0200
commitda5d6c276f98fc673aba312226e75f3bb3ea129f (patch)
treed670539c0f0d05b78ccaf749d2d851f901a59a59
parent1c2c0d4ef0dee2d75fb884146a900646465520d4 (diff)
Remove add-opens for unit tests that were added for NativeIO
- NativeIO now just gives a warning when failing init.
-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
-rw-r--r--vespajlib/pom.xml10
5 files changed, 0 insertions, 39 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>
diff --git a/vespajlib/pom.xml b/vespajlib/pom.xml
index ed6ae3678f4..2b660a53cf0 100644
--- a/vespajlib/pom.xml
+++ b/vespajlib/pom.xml
@@ -119,16 +119,6 @@
</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>