--- /dev/null
+public class Test {
+
+ public static void main(String[] argv) {
+ new Foo();
+ }
+
+}
+
+interface I {}
+
+abstract class AbstractFoo implements I {
+
+ String f;
+
+ AbstractFoo() {
+ }
+}
+
+class Foo extends AbstractFoo {
+
+ Foo() {
+ super();
+ f = "hello";
+ }
+}
+
+aspect X {
+
+ void around(): target(I) && set(* *) { proceed(); }
+
+}
public class Ajc161Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
- // AspectJ1.6.0rc1
+ // AspectJ1.6.1
+ public void testAroundAdviceOnFieldSet_pr229910() { runTest("around advice on field set"); }
public void testPipelineCompilationGenericReturnType_pr226567() { runTest("pipeline compilation and generic return type"); }
public static Test suite() {
<!-- AspectJ v1.6.1 Tests -->
<suite>
+ <ajc-test dir="bugs161/pr229910" title="around advice on field set">
+ <compile files="Test.java" options="-1.5"/>
+ <run class="Test"/>
+ </ajc-test>
+
<ajc-test dir="bugs161/pr226567" title="pipeline compilation and generic return type">
<compile files="BarAspect.aj Foo.java Bar.java" options="-1.5"/>
<compile files="BarAspect.aj Bar.java Foo.java" options="-1.5"/>
</ajc-test>
+
</suite>
\ No newline at end of file