Changeset 17198 in josm


Ignore:
Timestamp:
2020-10-14T00:09:19+02:00 (9 days ago)
Author:
simon04
Message:

see #19724 - EqualsVerifier: net.bytebuddy.experimental=true for Java 16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/TestUtils.java

    r17149 r17198  
    448448     */
    449449    public static void assumeWorkingEqualsVerifier() {
     450        if (Utils.getJavaVersion() >= 16) {
     451            // Byte Buddy often supports new class file versions for current EA releases if its experimental flag is set to true
     452            System.setProperty("net.bytebuddy.experimental", "true");
     453        }
    450454        try {
    451455            // Workaround to https://github.com/jqno/equalsverifier/issues/177
Note: See TracChangeset for help on using the changeset viewer.