Ignore:
Timestamp:
2019-07-11T23:07:28+02:00 (5 years ago)
Author:
Don-vip
Message:

disable HeadlessException check when loading plugins (for real)

File:
1 edited

Legend:

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

    r15239 r15242  
    5555
    5656        Map<String, Throwable> loadingExceptions = PluginHandler.pluginLoadingExceptions.entrySet().stream()
    57                 .filter(e -> !(e.getValue() instanceof HeadlessException))
     57                .filter(e -> !(ExceptionUtils.getRootCause(e.getValue()) instanceof HeadlessException))
    5858                .collect(Collectors.toMap(e -> e.getKey(), e -> ExceptionUtils.getRootCause(e.getValue())));
    5959
Note: See TracChangeset for help on using the changeset viewer.