|
541 | 541 | <mkdir dir="${report.dir}/jaxb"/>
|
542 | 542 | <mkdir dir="${build.dir}/${test.dir}/${tmp.dir}"/>
|
543 | 543 | <!-- Can be set e.g. in test.properties to add VM options for a particular platform/driver -->
|
544 |
| - <property name="additional.jvmargs.merged" value="${additional.jvmargs} -Ddummy2=dummy --add-opens java.base/java.math=ALL-UNNAMED"/> |
| 544 | + <property name="additional.jvmargs" value="--add-opens java.base/java.math=ALL-UNNAMED"/> |
| 545 | + <condition property="additional.jvmargs.merged.internal" |
| 546 | + value="${additional.jvmargs} --add-opens java.base/java.math=ALL-UNNAMED" |
| 547 | + else="--add-opens java.base/java.math=ALL-UNNAMED"> |
| 548 | + <isset property="additional.jvmargs"/> |
| 549 | + </condition> |
545 | 550 | <junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.jaxb" logfailedtests="true"
|
546 | 551 | printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
|
547 | 552 | <!--<jvmarg value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"/>-->
|
548 | 553 | <jvmarg value="-ea"/>
|
549 | 554 | <jvmarg value="-javaagent:${jmockit.lib}"/>
|
550 |
| - <jvmarg line="${additional.jvmargs.merged}"/> |
| 555 | + <jvmarg line="${additional.jvmargs.merged.internal}"/> |
551 | 556 | <env key="T_WORK" value="${tmp.dir}"/>
|
552 | 557 | <sysproperty key="platformType" value="SAX"/>
|
553 | 558 | <sysproperty key="metadataType" value="JAVA"/>
|
|
619 | 624 | <mkdir dir="${report.dir}/srg/jaxb"/>
|
620 | 625 | <mkdir dir="${build.dir}/${test.dir}/${tmp.dir}"/>
|
621 | 626 | <!-- Can be set e.g. in test.properties to add VM options for a particular platform/driver -->
|
622 |
| - <property name="additional.jvmargs.merged" value="${additional.jvmargs} -Ddummy2=dummy"/> |
| 627 | + <property name="additional.jvmargs" value="-Ddummy2=dummy"/> |
623 | 628 | <junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.jaxb_srg" logfailedtests="true"
|
624 | 629 | printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
|
625 | 630 | <jvmarg value="-ea"/>
|
626 |
| - <jvmarg line="${additional.jvmargs.merged}"/> |
| 631 | + <jvmarg line="${additional.jvmargs}"/> |
627 | 632 | <env key="T_WORK" value="${tmp.dir}"/>
|
628 | 633 | <sysproperty key="platformType" value="SAX"/>
|
629 | 634 | <sysproperty key="metadataType" value="JAVA"/>
|
|
0 commit comments