Changeset 16921 in josm for trunk


Ignore:
Timestamp:
2020-08-23T21:28:01+02:00 (4 years ago)
Author:
simon04
Message:

fix #19638 - PluginHandler: use CopyOnWriteArrayList for pluginList

File:
1 edited

Legend:

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

    r16887 r16921  
    3636import java.util.Set;
    3737import java.util.TreeSet;
     38import java.util.concurrent.CopyOnWriteArrayList;
    3839import java.util.concurrent.ExecutionException;
    3940import java.util.concurrent.FutureTask;
     
    278279     * All installed and loaded plugins (resp. their main classes)
    279280     */
    280     static final Collection<PluginProxy> pluginList = new LinkedList<>();
     281    static final Collection<PluginProxy> pluginList = new CopyOnWriteArrayList<>();
    281282
    282283    /**
Note: See TracChangeset for help on using the changeset viewer.