Bug 327556 - weaver should provide information about added types
Summary: weaver should provide information about added types
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: LTWeaving (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 10:06 EDT by Martin Lippert CLA
Modified: 2013-06-24 11:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Lippert CLA 2010-10-12 10:06:01 EDT
When using the weaver for load-time aspect weaving within an OSGi environment, we need to keep track of references to types that are added to the woven class as a result of the weaving process. We need to do this because those types might reside in packages that are not yet imported by the woven bundle (so that we can add those package imports to the bundle definition).

The easiest way for the OSGi load-time weaving implementation would be if the weaver would provide us with the list of added type references right after a class is woven.
Comment 1 Andrew Clement CLA 2013-06-24 11:06:10 EDT
unsetting the target field which is currently set for something already released