<propertyref name="user.country"/>
<propertyref name="javax.xml.stream.XMLInputFactory"/>
<propertyref name="org.apache.commons.logging.Log"/>
+ <propertyref name="java.locale.providers"/> <!-- required for Java 9 compilation -->
</propertyset>
+
+ <!-- this can be overwriten to empty when running with Java 9 -->
+ <property name="maxpermsize" value="-XX:MaxPermSize=256m"/>
<path id="main.classpath">
<pathelement location="${main.commons-logging.jar}"/>
failureproperty="ooxml.test.failed">
<classpath refid="@{classpath}"/>
<syspropertyset refid="junit.properties"/>
- <jvmarg value="-XX:MaxPermSize=256m"/>
+ <jvmarg value="${maxpermsize}"/>
<jvmarg value="-Xmx768M"/>
<jvmarg value="-ea"/>
<!-- jvmarg value="-Duser.timezone=UTC"/ -->
failureproperty="ooxml.ss.test.failed">
<classpath refid="@{classpath}"/>
<syspropertyset refid="junit.properties"/>
- <jvmarg value="-XX:MaxPermSize=256m"/>
+ <jvmarg value="${maxpermsize}"/>
<jvmarg value="-Xmx768M"/>
<jvmarg value="-ea"/>
<!-- jvmarg value="-Duser.timezone=UTC"/ -->
<classpath refid="test.ooxml.classpath"/>
<classpath refid="ooxml.xmlsec.classpath"/>
<syspropertyset refid="junit.properties"/>
- <jvmarg value="-XX:MaxPermSize=256m"/>
+ <jvmarg value="${maxpermsize}"/>
<jvmarg value="-Xmx512m"/>
<arg value="-ooxml"/>
<arg value="${ooxml.lite-merged.dir}/ooxml-lite-merged.jar"/>