Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357182 - @CreateLazy annotation within an extension interface not as lazy as expected
Summary: @CreateLazy annotation within an extension interface not as lazy as expected
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Stefan Liebig CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 02:08 EDT by Stefan Liebig CLA
Modified: 2011-09-09 02:44 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.