Bug 97450 - Too many adviceDidNotMatch warnings...
Summary: Too many adviceDidNotMatch warnings...
Status: RESOLVED WORKSFORME
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.5.2   Edit
Assignee: Andrew Clement CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-31 08:56 EDT by Andrew Clement CLA
Modified: 2006-04-05 09:43 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 Andrew Clement CLA 2005-05-31 08:56:59 EDT
This program:

aspect Logging {
  before(): call(* *(..)) && cflow(execution(* *(..)) {
  }
}

when compiled with:

ajc -1.5 Logging.aj

produces *two* xlint warnings when compiled.  It should only produce one as
there is only one piece of advice.  I believe it is the cflow(<pointcut>)
construct that is causing the duplication.
Comment 1 Helen Beeken CLA 2006-04-05 09:43:32 EDT
I've just tried this with AJ 1.5.1 and AJ 1.5.0 and can not recreate the problem. What I'm seeing is only the one warning as you would expect. Therefore closing this bug as WORKSFORME.