Open java.base/java.io to the unnamed module
used by LogFileHandler via NativeIO
</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>
