Author: centic
Date: Mon Jan 30 12:19:39 2023
New Revision: 1907109
URL: http://svn.apache.org/viewvc?rev=1907109&view=rev
Log:
Ant build: Specify "--add-opens" to avoid byte-buddy complaining on newer JDKs
Modified:
poi/trunk/build.xml
Modified: poi/trunk/build.xml
URL:
http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1907109&r1=1907108&r2=1907109&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Mon Jan 30 12:19:39 2023
@@ -1453,6 +1453,8 @@ under the License.
<modulepath refid="@{modulepath-ref}"
unless:true="${isJava8}"/>
<!--jvmarg line="-verbose:module"/-->
+ <jvmarg line="--add-opens
java.base/java.lang=net.bytebuddy" unless:true="${isJava8}"/>
+
<jvmarg line="--add-modules
org.junit.platform.launcher" unless:true="${isJava8}"/>
<jvmarg line="--add-modules org.junit.jupiter.params"
unless:true="${isJava8}"/>
<jvmarg line="--add-modules org.apache.poi.@{module1}"
if:set="use_module1"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]