mirror of https://github.com/apache/poi.git
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
This commit is contained in:
parent
b5fe208770
commit
30cae305ca
18
build.xml
18
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}"/>
|
||||
|
||||
|
|
Loading…
Reference in New Issue