Ant build: Specify "--add-opens" to avoid byte-buddy complaining on newer JDKs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907109 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2023-01-30 12:19:39 +00:00
parent bcd3785d7d
commit be3a17160e

View File

@ -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"/>