Community
Participate
Working Groups
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
Created attachment 5754 [details] A small testcase which describes the error in more details
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!
Wes missing brackets in the definition caused the problem