This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new ab96fb0 LANG-1667: Allow tests to access java.util classes such as
ArrayList in Java 16 (#788)
ab96fb0 is described below
commit ab96fb0245702e74397f15ad49955d581af5a3d9
Author: Andrew Thomas <[email protected]>
AuthorDate: Fri Aug 13 07:33:55 2021 -0700
LANG-1667: Allow tests to access java.util classes such as ArrayList in
Java 16 (#788)
---
pom.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 17a9ac9..0f92b68 100644
--- a/pom.xml
+++ b/pom.xml
@@ -935,7 +935,8 @@
</activation>
<properties>
<!-- LANG-1265: allow tests to access private fields/methods of
java.base classes via reflection -->
- <argLine>-Xmx512m --add-opens java.base/java.lang.reflect=ALL-UNNAMED
--add-opens java.base/java.lang=ALL-UNNAMED</argLine>
+ <!-- LANG-1667: allow tests to access private fields/methods of
java.base/java.util such as ArrayList via reflection -->
+ <argLine>-Xmx512m --add-opens java.base/java.lang.reflect=ALL-UNNAMED
--add-opens java.base/java.lang=ALL-UNNAMED --add-opens
java.base/java.util=ALL-UNNAMED</argLine>
<!-- coverall version 4.3.0 does not work with java 9, see
https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
<coveralls.skip>true</coveralls.skip>
</properties>