aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2023-01-30 12:19:39 +0000
committerDominik Stadler <centic@apache.org>2023-01-30 12:19:39 +0000
commitbe3a17160ee537d822e14c7941b26d195461e453 (patch)
tree0d4725255286e0970d9da6ccd40a9f72f14b4dd2 /build.xml
parentbcd3785d7d3e5fe9eb9c92cfc5e1abc0a21b6c65 (diff)
downloadpoi-be3a17160ee537d822e14c7941b26d195461e453.tar.gz
poi-be3a17160ee537d822e14c7941b26d195461e453.zip
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
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 5b94a475ff..c87c8811e3 100644
--- a/build.xml
+++ b/build.xml
@@ -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"/>