Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357182

Summary: @CreateLazy annotation within an extension interface not as lazy as expected
Product: [RT] Riena Reporter: Stefan Liebig <Stefan.Liebig>
Component: CoreAssignee: Stefan Liebig <Stefan.Liebig>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Stefan Liebig CLA 2011-09-09 02:08:12 EDT
Creation of dynamic proxies for the lazy creation of extension objects (IConfigurationElement.createExecutableExtension) are not as lazy as expected. The objects will be created lazily on their first usage, but the class of the object will be retrieved when the dynamic proxy is created.
This can cause undesired bundle activation which in turn may cause other problems, e.g. "bundle activation deadlock".
Comment 1 Stefan Liebig CLA 2011-09-09 02:44:27 EDT
Class loading and object creation will now be deferred until the first usage.