Community
Participate
Working Groups
Compiling: package cantfind; public class SomeObject { public static void main(String[] args) { } public static aspect Referencer{ pointcut mainCall() : call(void main(..)); pointcut myMainCall() : mainCall(); } } with: C:\aopbook_tech\aop7>ajc -Xlint -sourceroots cantfind yields: can't find referenced pointcut 1 error Commenting out the myMainCall() declaration fixes the error.
fixed in cvs, test case in bugs/PcdLookup.java