Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346537 - weaving hooks that add dynamic imports do not reflect in the BundleWiring API until resolution
Summary: weaving hooks that add dynamic imports do not reflect in the BundleWiring API...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: Juno M1   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 16:22 EDT by Thomas Watson CLA
Modified: 2011-06-08 14:10 EDT (History)
0 users

See Also:


Attachments
fix (1011 bytes, patch)
2011-06-08 14:09 EDT, Thomas Watson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Watson CLA 2011-05-19 16:22:24 EDT
Weaving hooks can add dynamic imports while weaving a class.  The added dynamic imports are supposed to show up in the BundleWiring.getRequirements results as before the class is defined.  In equinox they will not show up until after the dynamic import is resolved.  This has no ill effects at runtime because the dynamic import is actually present, but we are not accurately reflecting it in the BundleWiring implementation until after it has been resolved.
Comment 1 Thomas Watson CLA 2011-05-19 16:22:58 EDT
Not important enough to consider for 3.7.1.  Marking for 3.8.
Comment 2 Thomas Watson CLA 2011-06-08 11:28:45 EDT
Move all 3.8 bugs to Juno.
Comment 3 Thomas Watson CLA 2011-06-08 14:09:08 EDT
Created attachment 197626 [details]
fix

This fix looks in the dynamically added imports also.
Comment 4 Thomas Watson CLA 2011-06-08 14:10:20 EDT
Fixed released to HEAD.