summaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2015-09-02 09:49:22 -0700
committerAndy Clement <aclement@pivotal.io>2015-09-02 09:49:22 -0700
commita9ea7010ab7075d934aeb49d48dec33d48b722c4 (patch)
treeb20190f922e7d3d434d9f4cac2f95a0794aa20c1 /tests/src
parent415ef622d9435806ef0736341402772487deed23 (diff)
downloadaspectj-a9ea7010ab7075d934aeb49d48dec33d48b722c4.tar.gz
aspectj-a9ea7010ab7075d934aeb49d48dec33d48b722c4.zip
Bug 475152 - infinite loop during build time weaving when more than 2 aspects in hierarchy at org.aspectj.weaver.bcel.BcelAdvice.canInline
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc187/Ajc187Tests.java4
-rw-r--r--tests/src/org/aspectj/systemtest/ajc187/ajc187.xml4
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc187/Ajc187Tests.java b/tests/src/org/aspectj/systemtest/ajc187/Ajc187Tests.java
index 4907eeafe..ece3240e0 100644
--- a/tests/src/org/aspectj/systemtest/ajc187/Ajc187Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc187/Ajc187Tests.java
@@ -24,6 +24,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
*/
public class Ajc187Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
+ public void testInfiniteLoop_475152() throws Exception {
+ runTest("infinite loop");
+ }
+
public void testAnnoConversion_474165() throws Exception {
runTest("anno conversion");
}
diff --git a/tests/src/org/aspectj/systemtest/ajc187/ajc187.xml b/tests/src/org/aspectj/systemtest/ajc187/ajc187.xml
index ccf87e34f..e6db6d5e5 100644
--- a/tests/src/org/aspectj/systemtest/ajc187/ajc187.xml
+++ b/tests/src/org/aspectj/systemtest/ajc187/ajc187.xml
@@ -2,6 +2,10 @@
<suite>
+<ajc-test dir="bugs187/475152" title="infinite loop">
+<compile files="AbstractAspect.aj, BaseAspect.aj, TestClass.java, AjTarget.java, TestAspect.aj" options="-1.8"/>
+</ajc-test>
+
<ajc-test dir="bugs187/469889" title="broken java">
<!--
<compile files="A.java B.java AbstractA.java BImpl.java Main.java" options="-1.8"/>