Ignore:
Timestamp:
2014-07-07T22:44:23+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10242 - catch NoClassDefFoundError when ClassNotFoundException is catched

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java

    r7033 r7294  
    333333        try {
    334334            return Class.forName(className, true, classLoader);
    335         } catch (ClassNotFoundException | ClassCastException e) {
     335        } catch (NoClassDefFoundError | ClassNotFoundException | ClassCastException e) {
    336336            throw new PluginException(name, e);
    337337        }
Note: See TracChangeset for help on using the changeset viewer.