Changeset 14770 in josm for trunk/test/unit/org
- Timestamp:
- 2019-02-09T01:20:21+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTestIT.java
r14239 r14770 7 7 8 8 import java.awt.GraphicsEnvironment; 9 import java.awt.HeadlessException; 9 10 import java.util.Arrays; 10 11 import java.util.Collection; … … 146 147 Throwable root = ExceptionUtils.getRootCause(t); 147 148 root.printStackTrace(); 148 layerExceptions.put(findFaultyPlugin(loadedPlugins, root), root); 149 // Ignore HeadlessException with JavaFX components. Issue hard to solve and we're not interested by that 150 if (!(t instanceof HeadlessException)) { 151 layerExceptions.put(findFaultyPlugin(loadedPlugins, root), root); 152 } 149 153 } 150 154 }
Note:
See TracChangeset
for help on using the changeset viewer.