diff options
author | avasseur <avasseur> | 2005-06-13 09:21:14 +0000 |
---|---|---|
committer | avasseur <avasseur> | 2005-06-13 09:21:14 +0000 |
commit | 191c26bb4fc0b90a183e4448ab57d9b62fed429c (patch) | |
tree | 15bdfaf548137b1c769abc9e894326dd1d2f66da /tests | |
parent | 6b4238eb0f0871eae60d71fe596c96c2ae5dce76 (diff) | |
download | aspectj-191c26bb4fc0b90a183e4448ab57d9b62fed429c.tar.gz aspectj-191c26bb4fc0b90a183e4448ab57d9b62fed429c.zip |
fixed bug with LTW Xreweavable, fix this reflective issue in RunAllBeforeCommit (was misnamed..)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/java5/ataspectj/ajc-ant.xml | 1 | ||||
-rw-r--r-- | tests/java5/ataspectj/ataspectj/PerClauseTest.java | 2 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java | 15 |
3 files changed, 10 insertions, 8 deletions
diff --git a/tests/java5/ataspectj/ajc-ant.xml b/tests/java5/ataspectj/ajc-ant.xml index 85f1367da..0703756e5 100644 --- a/tests/java5/ataspectj/ajc-ant.xml +++ b/tests/java5/ataspectj/ajc-ant.xml @@ -30,6 +30,7 @@ <classpath refid="aj.path"/> <jvmarg value="-javaagent:${aj.root}/lib/test/loadtime5.jar"/> <jvmarg value="-Daj5.def=ataspectj/aop-perclausetest.xml"/> +<!-- <jvmarg line="${jdwp}"/> --> </java> </target> diff --git a/tests/java5/ataspectj/ataspectj/PerClauseTest.java b/tests/java5/ataspectj/ataspectj/PerClauseTest.java index 268873696..08e019489 100644 --- a/tests/java5/ataspectj/ataspectj/PerClauseTest.java +++ b/tests/java5/ataspectj/ataspectj/PerClauseTest.java @@ -203,7 +203,7 @@ public class PerClauseTest extends TestCase { ;//ok } } - + static class PTW1 { static void foo() {}; } diff --git a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java index 5bc6ea025..145426d70 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java @@ -36,14 +36,15 @@ public class AtAjLTWTests extends XMLBasedAjcTestCase { public void testAjcLTWPerClauseTest_XnoWeave() { runTest("AjcLTW PerClauseTest -XnoWeave"); } +//FIXME AV - fails with ?? ataspectj\PerClauseTestAspects.java::0 the parameter jp is not bound in [all branches of] pointcut // -// public void testAjcLTWPerClauseTest_Xreweavable() { -// runTest("AjcLTW PerClauseTest -Xreweavable"); -// } -// -// public void testJavaCAjcLTWPerClauseTest() { -// runTest("JavaCAjcLTW PerClauseTest"); -// } + public void testAjcLTWPerClauseTest_Xreweavable() { + runTest("AjcLTW PerClauseTest -Xreweavable"); + } + + public void testJavaCAjcLTWPerClauseTest() { + runTest("JavaCAjcLTW PerClauseTest"); + } public void testAjcLTWAroundInlineMungerTest_XnoWeave() { runTest("AjcLTW AroundInlineMungerTest -XnoWeave"); |