JDK-6468572 : Plugins order doesn't follow pluginpath
  • Type: Bug
  • Component: tools
  • Sub-Component: jconsole
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-09-08
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u4Fixed 7 b05Fixed
Description
The discovered list of plugins is put in an HashMap<SwingWorker, 
JConsolePlugins> This map is then iterated thanks to the keySet. This 
set that doesn't return the set of plugins in the same order each time.

Comments
EVALUATION Will fix it in an update release.
13-09-2006

SUGGESTED FIX Change in VMPanel plugins = new HashMap<JConsolePlugin, SwingWorker<?,?>>(); to plugins = new LinkedHashMap<JConsolePlugin, SwingWorker<?,?>>();
08-09-2006