Bug 41519

Summary: Problems with &&!within(com..Classname)
Product: [Tools] AspectJ Reporter: Arno <A>
Component: CompilerAssignee: Jim Hugunin <jim-aj>
Status: RESOLVED INVALID QA Contact:
Severity: critical    
Priority: P3    
Version: 1.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
A small testcase which describes the error in more details none

Description Arno CLA 2003-08-13 19:14:00 EDT
Hello,
I have a problem where some joinpoints are selected, even if they are excluded 
by some a &&(!within(com..SomeClass)).

However this pattern works well if used in the same package. 

I will attach a short testcase.
I appologize, if this is a fault in my code, because it is getting quite late 
here now.

Feel free to include the submitted code, in the testcases.

kind regards 
   Arno 

email Arno@aspectsoft.de
Comment 1 Arno CLA 2003-08-13 19:17:31 EDT
Created attachment 5754 [details]
A small testcase which describes the error in more details
Comment 2 Wes Isberg CLA 2003-08-21 05:33:12 EDT
I can't tell from the test case what exactly you expected, but in one place I
believe you left out some parentheses:

from:  get(* System.out) || get(* System.err)  && (!within(com..*Test*))
  to: (get(* System.out) || get(* System.err)) && (!within(com..*Test*))

Would you confirm whether that solves the problem, and resolve the bug as
NOTABUG if so?  If not, please specify what files should be compiled (presumably
all) and what warnings you expected and got.  Thanks!
Comment 3 Arno CLA 2003-08-21 07:41:51 EDT
Wes missing brackets in the definition caused the problem