<!-- contains valid tests that the compiler has never passed -->
<suite>
+ <ajc-test dir="bugs"
+ pr="40858"
+ comment="shouldn't super ref be permitted?"
+ title="weaver trace on mis-qualified pointcut reference">
+ <compile files="SuperPointcutCE.java">
+ <message kind="error" line="26"/>
+ </compile>
+ </ajc-test>
+
<ajc-test dir="bugs"
pr="40814"
title="compile error expected for interface pointcuts">
--- /dev/null
+
+
+public class MissingTypeSigatureCE {
+ public static void main(String[] a) {
+ new C().run();
+ }
+}
+
+class C {
+ public void run(){ System.out.println("c");}
+}
+
+abstract aspect AA {
+ pointcut pc() : call(public * *(..)) && !within(AA+);
+ before() : pc() {
+ System.out.println("here: " + thisJoinPointStaticPart);
+ }
+}
+
+/** @testcase PR#40858 weaver trace on mis-qualified pointcut reference */
+aspect B extends AA {
+
+ pointcut pc() : super.pc()
+ && !call(void println(..));
+
+ pointcut blah() : UnknownType.pc(); // CE
+}