aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2019-01-22 10:01:36 +0000
committerDominik Stadler <centic@apache.org>2019-01-22 10:01:36 +0000
commit30cae305ca336961ced257f5dc0662f79d6bd2d1 (patch)
treed09cd0ddce5785ab7e298ca9a02573268d5abd73 /build.xml
parentb5fe208770bb58cf47fc1b02d883da1711d3c193 (diff)
downloadpoi-30cae305ca336961ced257f5dc0662f79d6bd2d1.tar.gz
poi-30cae305ca336961ced257f5dc0662f79d6bd2d1.zip
Fix passing in --add-opens for Java 9+ after the poiunit refactoring, this
only caused problems with Java 9+ on Windows, which we do not run in CI (yet) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851796 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/build.xml b/build.xml
index b24f73d546..0627f8a272 100644
--- a/build.xml
+++ b/build.xml
@@ -1229,15 +1229,15 @@ under the License.
<jvmarg value="-Xmx@{heap}M"/>
<jvmarg value="-ea"/>
- <!-- these need to be set differently when running with Java 9 -->
- <jvmarg value="${java9addmods}" if:set="${java9addmods}" />
- <jvmarg value="${java9addmodsvalue}" if:set="${java9addmodsvalue}" />
- <jvmarg value="${java9addopens1}" if:set="${java9addopens1}" />
- <jvmarg value="${java9addopens2}" if:set="${java9addopens2}" />
- <jvmarg value="${java9addopens3}" if:set="${java9addopens3}" />
- <jvmarg value="${java9addopens4}" if:set="${java9addopens4}" />
- <jvmarg value="${java9addopens5}" if:set="${java9addopens5}" />
- <jvmarg value="${java9addopens6}" if:set="${java9addopens6}" />
+ <!-- some --add-opens and other properties are needed when running with Java 9 or newer -->
+ <jvmarg value="${java9addmods}" if:set="java9addmods" />
+ <jvmarg value="${java9addmodsvalue}" if:set="java9addmodsvalue" />
+ <jvmarg value="${java9addopens1}" if:set="java9addopens1" />
+ <jvmarg value="${java9addopens2}" if:set="java9addopens2" />
+ <jvmarg value="${java9addopens3}" if:set="java9addopens3" />
+ <jvmarg value="${java9addopens4}" if:set="java9addopens4" />
+ <jvmarg value="${java9addopens5}" if:set="java9addopens5" />
+ <jvmarg value="${java9addopens6}" if:set="java9addopens6}" />
<jvmarg value="-javaagent:${ooxml.lite.agent}=${ooxml.lite.report}|${ooxml.lite.includes}" if:true="${ooxml.lite.agent.exists}"/>