﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20458	Plugin classloaders list cleared too often?	DevCharly	Don-vip	"While looking for a fix for #20456, I notices something strange in `PluginHandler.loadPlugins()` here:
https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java#L853

`classLoaders` is a static variable and is always cleared when `PluginHandler.loadPlugins()`
is invoked, which happens multiple times at startup (for very-early-plugins, early-plugins and late-plugins) and also when downloading a plugin.

This seems not right?

`PluginHandler.getPluginClassLoaders()` returns only the plugin classloaders of the last `PluginHandler.loadPlugins()` invocation."	defect	closed	minor	21.02	Core		fixed	classloader	
