--- /dev/null
+package test.jmx;
+
+public class Test implements TestMBean {
+
+ public String test() {
+ return "test";
+ }
+}
--- /dev/null
+package test.aspects;
+
+public aspect TestAspect {
+
+ pointcut boundaries(): execution (public * *..*MBean+.*(..));
+
+ Object around(): boundaries() {
+ return proceed();
+ }
+}
--- /dev/null
+package test.jmx;
+
+public interface TestMBean {
+
+ String test();
+}
public class Ajc160Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// AspectJ1.6.0rc1
+ public void testPipelineCompilationAnonymous_pr225916() {
+ runTest("pipeline compilation and anonymous type");
+ }
public void testGenericITDs_pr214994() {
runTest("generic itd");
}
<suite>
+ <ajc-test dir="bugs160/pr225916" title="pipeline compilation and anonymous type">
+ <compile files="Test.java TestMBean.java TestAspect.java" options="-showWeaveInfo">
+ <message kind="weave" text="Join point 'method-execution(java.lang.String test.jmx.Test.test())' in Type"/>
+ </compile>
+ </ajc-test>
+
<ajc-test dir="bugs160/pr214994" title="generic itd">
<compile files="Broke.java" options="-1.5"/>
</ajc-test>