diff options
author | aclement <aclement> | 2006-06-21 11:33:21 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-06-21 11:33:21 +0000 |
commit | 13dde4efd453d32bb4f25781a8fa7aafc2cef850 (patch) | |
tree | aea6550021dad48c59f320ad284f4574b83dd065 /tests/src | |
parent | 791f8a7c3f37d9b10b8ad1692df998733bbc2f20 (diff) | |
download | aspectj-13dde4efd453d32bb4f25781a8fa7aafc2cef850.tar.gz aspectj-13dde4efd453d32bb4f25781a8fa7aafc2cef850.zip |
test and fix for 147801: rogue bridge methods in a funky configuration.
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | 1 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc152/ajc152.xml | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java index f0be4c6ee..22c02cd03 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java @@ -32,6 +32,7 @@ public class Ajc152Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // public void testBrokenIfArgsCflowAtAj_pr145018() { runTest("ataj crashing with cflow, if and args");} // public void testItdCallingGenericMethod_pr145391() { runTest("itd calling generic method");} // public void testItdCallingGenericMethod_pr145391_2() { runTest("itd calling generic method - 2");} + public void testDuplicateBridgeMethods_pr147801_1() { runTest("duplicate bridge methods");} public void testPackageIgnoredForException_pr147701_1() { runTest("package for exception ignored");} public void testPackageIgnoredForException_pr147701_2() { runTest("package for exception ignored - 2");} public void testPackageIgnoredForException_pr147701_3() { runTest("package for exception ignored - 3");} diff --git a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml index d6a132ee5..370d24ad9 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml +++ b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml @@ -720,4 +720,14 @@ </compile> </ajc-test> + <ajc-test dir="bugs152/pr147801" title="duplicate bridge methods"> + <compile files="Advisor.aj" inpath="foo.jar" options="-1.5"/> + <run class="Foo"> + <stderr> + <line text="x"/> + <line text="1) public Sub Foo.getParameterMetaData() throws MyException"/> + </stderr> + </run> + </ajc-test> + </suite>
\ No newline at end of file |