Ignore:
Timestamp:
2017-08-23T17:50:30+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - remove unneeded imports to Main

File:
1 edited

Legend:

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

    r12620 r12627  
    734734        if (joinedPluginResourceCL == null) {
    735735            joinedPluginResourceCL = AccessController.doPrivileged((PrivilegedAction<DynamicURLClassLoader>)
    736                     () -> new DynamicURLClassLoader(new URL[0], Main.class.getClassLoader()));
     736                    () -> new DynamicURLClassLoader(new URL[0], PluginHandler.class.getClassLoader()));
    737737            sources.add(0, joinedPluginResourceCL);
    738738        }
     
    831831                    () -> new PluginClassLoader(
    832832                        info.libraries.toArray(new URL[0]),
    833                         Main.class.getClassLoader(),
     833                        PluginHandler.class.getClassLoader(),
    834834                        null));
    835835                classLoaders.put(info, cl);
Note: See TracChangeset for help on using the changeset viewer.