jvz commented on code in PR #1964:
URL: https://github.com/apache/logging-log4j2/pull/1964#discussion_r1391507645
##########
log4j-core-test/pom.xml:
##########
@@ -379,6 +379,22 @@
</annotationProcessorPaths>
</configuration>
</plugin>
+ <!--
+
https://junit-pioneer.org/docs/environment-variables/#warnings-for-reflective-access
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>
+ <!-- for environment variable access -->
+ --add-opens java.base/java.util=ALL-UNNAMED
+ --add-opens java.base/java.lang=ALL-UNNAMED
+ <!-- for URLStreamHandlerFactory access -->
+ --add-opens java.base/java.net=ALL-UNNAMED
Review Comment:
Also seems like the tests using this are related to `ResolverUtil` which is
going away in 3.x as we no longer do class path scanning.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]