Changeset 17538 in josm for trunk/build.xml


Ignore:
Timestamp:
2021-02-24T00:40:01+01:00 (3 years ago)
Author:
Don-vip
Message:

see #19724, see #20522 - enable jacoco on java 16/17 + add NPE details on Java 14+ in unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r17520 r17538  
    8989        <condition property="isJava12"><matches string="${ant.java.version}" pattern="1[2-9]" /></condition>
    9090        <condition property="isJava13"><matches string="${ant.java.version}" pattern="1[3-9]" /></condition>
     91        <condition property="isJava14"><matches string="${ant.java.version}" pattern="1[4-9]" /></condition>
    9192        <condition property="isJava16"><matches string="${ant.java.version}" pattern="1[6-9]" /></condition>
    92         <!-- Disable jacoco on Java 16+, see https://github.com/jacoco/jacoco/pull/992 -->
     93        <condition property="isJava18"><matches string="${ant.java.version}" pattern="1[8-9]" /></condition>
     94        <!-- Disable jacoco on Java 18+, see https://github.com/jacoco/jacoco/pull/1132 -->
    9395        <condition property="coverageByDefault">
    9496            <not>
    95                 <isset property="isJava16"/>
     97                <isset property="isJava18"/>
    9698            </not>
    9799        </condition>
     
    477479                            <jvmarg value="--add-opens" if:set="isJava9" />
    478480                            <jvmarg value="java.desktop/java.awt=ALL-UNNAMED" if:set="isJava9" />
     481                        <jvmarg value="-XX:+ShowCodeDetailsInExceptionMessages" if:set="isJava14" />
    479482                            <sysproperty key="josm.home" value="${test.dir}/config/@{testfamily}-josm.home"/>
    480483                            <sysproperty key="josm.test.data" value="${test.dir}/data"/>
Note: See TracChangeset for help on using the changeset viewer.