Community
Participate
Working Groups
Test code: public class PCSUsageEventGeneratorTest { static aspect TrackTestCase { pointcut testcut() : execution(public void test*(..)); before() : testcut() { } } } Sample compilation with AspectJ 1.1 beta 4: C:\devel>ajc PCSUsageEventGeneratorTest.java can't find referenced pointcut 1 error As noted in the previous bug, this is also a hard error to track down, due to the ambiguous compiler error.
fixed in current tree, test in bugs/InnerPointcut.java