--- /dev/null
+import org.aspectj.lang.annotation.*;
+import org.aspectj.lang.*;
+
+@interface I {}
+
+@I
+public class A {
+ public void m() {}
+}
+
+@Aspect
+class X {
+ @Around("execution(* (@I *).*(..))")
+ public Object foo(ProceedingJoinPoint pjp) {
+return null;
+ }
+}
+
+
--- /dev/null
+public class Apple {
+ public void m() {}
+}
--- /dev/null
+public class Main {
+ public static void main(String []argv) {
+ new Apple().m();
+ new Orange().m();
+ }
+}
--- /dev/null
+public class Orange {
+ public void m() {}
+}
--- /dev/null
+<project name="ltw with funny libraries" default="default" basedir=".">\r
+ <target name="default" >\r
+ <echo> This script builds the AspectJ examples. </echo>\r
+ <taskdef resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">\r
+ <classpath> \r
+ <pathelement path="${aj.root}/lib/aspectj/aspectjtools.jar"/>\r
+ </classpath>\r
+ </taskdef>\r
+ <iajc destdir="${classes.dir}" argfiles="${list}" \r
+ fork="true"\r
+ forkclasspath="${aspectjtools.jar}"\r
+ classpath="${aspectjrt.jar}"/>\r
+\r
+ <antcall target="Ajx-run" >\r
+ <param name="class" value="${class}"/>\r
+ </antcall>\r
+ </target>\r
+</project>\r
// runTest("new pointcut designators in a reference pointcut");
// }
+ public void testJarsZipsNonStandardSuffix_pr186673() { runTest("jars and zips with non-standard suffix");}
//public void testGenericTypeParameterizedWithArrayType_pr167197() { runTest("generic type parameterized with array type");}
<compile options="-1.5" files="AspectBreaker.java"/>
</ajc-test>
+ <ajc-test dir="bugs154/pr186673" title="jars and zips with non-standard suffix">
+ <compile options="-1.5" files="Apple.java" outjar="apple.jar.0"/>
+ <compile options="-1.5" files="Orange.java" outjar="orange.zipfoo"/>
+ <!-- check ant and a standard compile -->
+ <!--ant file="ant.xml" target="default" verbose="true">
+ <stdout>
+ <line text="Blah"/>
+ </stdout>
+ </ant-->
+ <compile options="-1.5" files="Main.java" classpath="orange.zipfoo,apple.jar.0"/>
+ </ajc-test>
<ajc-test dir="bugs154/pr203646" title="npe with itd on inner generic interface">
<compile options="-1.5" files="Bang.java"/>