From: aclement Date: Wed, 14 Sep 2011 00:04:38 +0000 (+0000) Subject: 354470 X-Git-Tag: V1_6_12~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e72228e3682ad8cb6503d2c0b1c06ac059ae7e1a;p=aspectj.git 354470 --- diff --git a/tests/bugs1612/pr354470/Code.java b/tests/bugs1612/pr354470/Code.java new file mode 100644 index 000000000..044966200 --- /dev/null +++ b/tests/bugs1612/pr354470/Code.java @@ -0,0 +1,48 @@ +import org.aspectj.lang.annotation.*; +import java.lang.annotation.*; +import java.lang.reflect.*; + +@Aspect("perthis(transactional())") +public class Code { + @Pointcut("execution(@Transactional * * (..))") + public void transactional() { } + + public static void main(String[] args) { + print(AAA.class); + print(BBB.class); + print(CCC.class); + } + + public static void print(Class clazz) { + System.out.println(clazz.getName()); + Class[] ifs = clazz.getInterfaces(); + if (ifs!=null) { + for (int i=0;i + + + + + + + + + + + + + + + + + + + + + + + + + + + +