Changeset 35712 in osm for applications/editors


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

see #19724 - add more details for NPE when running tests on Java 14+

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r35711 r35712  
    5858    <condition property="isJava12"><matches string="${ant.java.version}" pattern="1[2-9]" /></condition>
    5959    <condition property="isJava13"><matches string="${ant.java.version}" pattern="1[3-9]" /></condition>
     60    <condition property="isJava14"><matches string="${ant.java.version}" pattern="1[4-9]" /></condition>
    6061    <condition property="isJava16"><matches string="${ant.java.version}" pattern="1[6-9]" /></condition>
    6162    <!-- Disable jacoco on Java 16+, see https://github.com/jacoco/jacoco/pull/992 -->
     
    617618                        <jvmarg value="--add-exports" if:set="isJava9" />
    618619                        <jvmarg value="java.desktop/com.sun.imageio.spi=ALL-UNNAMED" if:set="isJava9" />
     620                        <jvmarg value="-XX:+ShowCodeDetailsInExceptionMessages" if:set="isJava14" />
    619621                        <sysproperty key="josm.home" value="../00_core_test_config/unit-josm.home"/>
    620622                        <sysproperty key="josm.test.data" value="${plugin.test.dir}/data"/>
Note: See TracChangeset for help on using the changeset viewer.