Changeset 15239 in josm


Ignore:
Timestamp:
2019-07-10T23:04:18+02:00 (5 years ago)
Author:
Don-vip
Message:

disable HeadlessException check when loading plugins - we cannot force external GitHub plugins to respect this rule

File:
1 edited

Legend:

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

    r14781 r15239  
    77
    88import java.awt.GraphicsEnvironment;
     9import java.awt.HeadlessException;
    910import java.util.Arrays;
    1011import java.util.Collection;
     
    5455
    5556        Map<String, Throwable> loadingExceptions = PluginHandler.pluginLoadingExceptions.entrySet().stream()
     57                .filter(e -> !(e.getValue() instanceof HeadlessException))
    5658                .collect(Collectors.toMap(e -> e.getKey(), e -> ExceptionUtils.getRootCause(e.getValue())));
    5759
Note: See TracChangeset for help on using the changeset viewer.