Browse Source

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
tags/REL_5_2_4
Dominik Stadler 1 year ago
parent
commit
be3a17160e
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      build.xml

+ 2
- 0
build.xml 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"/>

Loading…
Cancel
Save