aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoraclement <aclement>2008-04-07 06:35:33 +0000
committeraclement <aclement>2008-04-07 06:35:33 +0000
commit68864bab9569c03dfe16491a69d55d36ef7d4bad (patch)
tree5801bf91ccba6e807a8533e5b3ef942c82e3a0e0 /tests/src
parent702abd77dbb7f624146fff6266d7a8741e5aa42a (diff)
downloadaspectj-68864bab9569c03dfe16491a69d55d36ef7d4bad.tar.gz
aspectj-68864bab9569c03dfe16491a69d55d36ef7d4bad.zip
225916: test and fix: when pipelining use the binding to determine anonymity
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java3
-rw-r--r--tests/src/org/aspectj/systemtest/ajc160/ajc160.xml6
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java b/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java
index 5c5fc64e9..7d20871db 100644
--- a/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java
@@ -22,6 +22,9 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
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");
}
diff --git a/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml b/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml
index bda4a19c8..eb8f28b06 100644
--- a/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml
+++ b/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml
@@ -4,6 +4,12 @@
<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>