--- /dev/null
+public aspect pr122452 {
+ pointcut greeting() : call (* Point.sayHello(..));
+ pointcut greeting2() : call (* related.Hello.sayHello(..));
+ after() returning() : greeting*() {
+ System.out.println(" World!");
+ }
+}
--- /dev/null
+public aspect pr122452_2 {
+ after() returning() : greeting*() {
+ System.out.println(" World!");
+ }
+}
public void testParameterizedCollectionFieldMatching_pr124808() { runTest("parameterized collection fields matched via pointcut");}
public void testGenericAspectsAndAnnotations_pr124654() { runTest("generic aspects and annotations");}
public void testCallInheritedGenericMethod_pr124999() { runTest("calling inherited generic method from around advice");}
+ //public void testIncorrectlyReferencingPointcuts_pr122452() { runTest("incorrectly referencing pointcuts");}
+ //public void testIncorrectlyReferencingPointcuts_pr122452_2() { runTest("incorrectly referencing pointcuts - 2");}
+
/////////////////////////////////////////
public static Test suite() {
</stderr>
</run>
</ajc-test>
+
+ <ajc-test dir="bugs151" title="incorrectly referencing pointcuts">
+ <compile files="pr122452.aj" options="-1.5"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs151" title="incorrectly referencing pointcuts - 2">
+ <compile files="pr122452_2.aj" options="-1.5"/>
+ </ajc-test>
+
</suite>
\ No newline at end of file