Bug 28344 - confirm that runtime/boot plugins are removed from prereq list
Summary: confirm that runtime/boot plugins are removed from prereq list
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2002-12-15 13:33 EST by Jeff McAffer CLA
Modified: 2003-02-02 20:45 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff McAffer CLA 2002-12-15 13:33:29 EST
Alot of people needlessly spec the runtime and boot plugins on the prereq list 
in their plugin.xml.  If taken literally this may mean that those plugins will 
be consulted twice during classloading (since they are included by default with 
boot as the classloader parent and runtime as the first prereq plugin).  Of 
course, that would impact performance.

I believe that there was code in there either to remove the surplus entries or 
to skip plugins which have already been visited (note that this last one will 
not work for boot as it is not a prereq).  Need to confirm that the right thing 
is done here.
Comment 1 DJ Houghton CLA 2003-02-02 20:45:18 EST
Checked and its already done.
PluginClassLoader.initializeImportedLoaders.
Closing.