--- /dev/null
+import java.lang.retention.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface Ann {}
--- /dev/null
+@Ann
+public interface Base {}
--- /dev/null
+@Ann
+public class BaseImpl implements Base {}
--- /dev/null
+interface I1 {}
--- /dev/null
+interface Mixin {public void m();}
+
--- /dev/null
+public class Runner {
+ public static void main(String []argv) {
+ new BaseImpl().m();
+ }
+
+ static aspect A{
+ before(): call(* *(..)) {}
+ }
+}
--- /dev/null
+public aspect X {
+ declare parents: @Ann * extends I1,Mixin;
+ int Mixin.i;
+ public void Mixin.m() {}
+}
// public void testArgnamesAndJavac_pr148381() { runTest("argNames and javac");}
// public void testCFlowXMLAspectLTW_pr149096() { runTest("cflow xml concrete aspect"); }
// public void testAmbiguousBinding_pr121805() { runTest("ambiguous binding");}
+ public void testPipeliningProblemWithAnnotationsDecp_pr153380_1() { runTest("pipelining decps");}
public void testUnwantedPointcutWarning_pr148219() { runTest("unwanted warning for pointcut");}
public void testDecpAndCflowadderMungerClash_pr152631() { runTest("decp and cflowadder munger clash");}
public void testGenericInheritanceDecp_pr150095() { runTest("generics, inheritance and decp");}
</run>
</ajc-test>
+ <ajc-test dir="bugs153/pr153380/case1" title="pipelining decps">
+ <compile files="Ann.java,Base.java,BaseImpl.java,I1.java,Mixin.java,Runner.java,X.aj" options="-1.5">
+ <message kind="error" line="1" text="The import java.lang.retention cannot be resolved"/>
+ <message kind="error" line="3" text="Retention cannot be resolved to a type"/>
+ </compile>
+ </ajc-test>
+
<ajc-test dir="bugs153/pr148381" title="argNames and javac">
<!--compile files="C.java" options="-1.5"/>
<compile files="A.java" options="-1.5"/-->