Ignore:
Timestamp:
2017-09-16T22:08:55+02:00 (3 years ago)
Author:
Don-vip
Message:

see #15229 - see #15182 - remove dependence of ImageProvider on PluginHandler

File:
1 edited

Legend:

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

    r12862 r12870  
    307307        try {
    308308            sources.add(ClassLoader.getSystemClassLoader());
    309             sources.add(org.openstreetmap.josm.gui.MainApplication.class.getClassLoader());
     309            sources.add(PluginHandler.class.getClassLoader());
    310310        } catch (SecurityException ex) {
    311311            Logging.debug(ex);
     
    862862
    863863            extendJoinedPluginResourceCL(toLoad);
     864            ImageProvider.addAdditionalClassLoaders(getResourceClassLoaders());
    864865            monitor.setTicksCount(toLoad.size());
    865866            for (PluginInformation info : toLoad) {
Note: See TracChangeset for help on using the changeset viewer.