diff options
author | aclement <aclement> | 2009-01-13 20:30:08 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-01-13 20:30:08 +0000 |
commit | b140866871aa357e14cc511929fb37abc845a30b (patch) | |
tree | a59f56e53553b3bb9f8755b207ae7c1236ddbe4a /tests | |
parent | 2a58fc63d699f4be27bd81a5512b079e923e498d (diff) | |
download | aspectj-b140866871aa357e14cc511929fb37abc845a30b.tar.gz aspectj-b140866871aa357e14cc511929fb37abc845a30b.zip |
260384: Literal.FALSE and clone()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs164/pr260384/D.java | 12 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc164/ajc164.xml | 13 |
3 files changed, 25 insertions, 4 deletions
diff --git a/tests/bugs164/pr260384/D.java b/tests/bugs164/pr260384/D.java new file mode 100644 index 000000000..25381cbfd --- /dev/null +++ b/tests/bugs164/pr260384/D.java @@ -0,0 +1,12 @@ +public class D { + public void m() throws Exception { + clone(); + } +} + +class E {} + +aspect X { + before(): target(E) { } +} + diff --git a/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java b/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java index 7e2286fa1..43304153e 100644 --- a/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java @@ -30,6 +30,10 @@ public class Ajc164Tests extends org.aspectj.testing.XMLBasedAjcTestCase { runTest("compiling spring - 3"); } + public void testCompilingSpring_pr260384_4() { + runTest("compiling spring - 4"); + } + public void testAtAspectJDecp_pr164016() { runTest("ataspectj decp 164016"); } diff --git a/tests/src/org/aspectj/systemtest/ajc164/ajc164.xml b/tests/src/org/aspectj/systemtest/ajc164/ajc164.xml index 6b44c4ce6..768c30d1f 100644 --- a/tests/src/org/aspectj/systemtest/ajc164/ajc164.xml +++ b/tests/src/org/aspectj/systemtest/ajc164/ajc164.xml @@ -2,10 +2,6 @@ <suite> - <ajc-test dir="bugs164/pr260384" title="compiling spring - 3"> - <compile files="C.java" options="-1.5 -emacssym"/> - </ajc-test> - <ajc-test dir="bugs164/pr260384" title="compiling spring"> <compile files="Broken.java" options="-1.5"> </compile> @@ -16,6 +12,15 @@ </compile> </ajc-test> + <ajc-test dir="bugs164/pr260384" title="compiling spring - 3"> + <compile files="C.java" options="-1.5 -emacssym"/> + </ajc-test> + + <ajc-test dir="bugs164/pr260384" title="compiling spring - 4"> + <compile files="D.java" options="-1.5"> + </compile> + </ajc-test> + <ajc-test dir="bugs164/pr164016" title="ataspectj decp 164016"> <compile files="Code.aj" options="-1.5"/> <run class="test.Code"/> |