Bug 192186 - Enhancement request for Shadow.reportWeavingMessage()
Summary: Enhancement request for Shadow.reportWeavingMessage()
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Library (show other bugs)
Version: 1.5.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-12 09:22 EDT by Heiko Seeberger CLA
Modified: 2013-06-24 11:07 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 Heiko Seeberger CLA 2007-06-12 09:22:48 EDT
The implementation of org.aspectj.weaver.Shadow.reportWeavingMessage() does not report WEAVINFOs for advices with cflow pointcuts.

Example:
public aspect Aspect {
    pointcut getA() : execution(String a.internal.A.getA());
    pointcut getB() : execution(String b.internal.B.getB());
    String around() : getB() && cflow(getA()) {
        System.out.println("getB() && cflow(getA())");
        return "Aspect";
    }

I already discussed that in the mailing list with Andy Clement on 2007-06-11, subject is "No WEAVEINFO messages for cflow pointcuts!".

I would like an enhancement to this method.
Comment 1 Andrew Clement CLA 2013-06-24 11:07:13 EDT
unsetting the target field which is currently set for something already released