diff options
author | jhugunin <jhugunin> | 2003-03-12 19:51:43 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-03-12 19:51:43 +0000 |
commit | a57ec8d9cff0ca35ce9efb59c79a5f1ec90c13cb (patch) | |
tree | 68b31b1937984f97c0603f8ae82a77d1aaaba416 /tests/ajcTests.xml | |
parent | f76921c5e0053c472abf8ccd3979116f180aae0a (diff) | |
download | aspectj-a57ec8d9cff0ca35ce9efb59c79a5f1ec90c13cb.tar.gz aspectj-a57ec8d9cff0ca35ce9efb59c79a5f1ec90c13cb.zip |
fix and tests for checked exception on advice being checked at
woven join points
Diffstat (limited to 'tests/ajcTests.xml')
-rw-r--r-- | tests/ajcTests.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 31f5a7607..b8486e3b5 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -5666,4 +5666,23 @@ <compile files="CflowCycles.java"/> <run class="CflowCycles"/> </ajc-test> + + <ajc-test dir="new" + title="incompatible advice throws clause are a compile-time error" + keywords="from-resolved_10x"> + <compile files="AdviceThrowsCf.java"> + <message kind="error" line="13"/> + <message kind="error" line="28"/> + <message kind="error" line="47"/> + <message kind="error" line="48"/> + <message kind="error" line="50"/> + + <message kind="error" line="70"/> + <message kind="error" line="74"/> + <message kind="error" line="76"/> + <message kind="error" line="78"/> + + <message kind="error" line="85"/> + </compile> + </ajc-test> </suite> |