aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ajcTests.xml
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-08-08 00:26:22 +0000
committerjhugunin <jhugunin>2003-08-08 00:26:22 +0000
commitefc1cc47398443b33fe90da11c4cf1d14dc9c108 (patch)
tree9c967c62b6b4b51003b282976f2558ee7914cb91 /tests/ajcTests.xml
parentbdfba603c4aee6d32a4873ddca43657e6eee92a8 (diff)
downloadaspectj-efc1cc47398443b33fe90da11c4cf1d14dc9c108.tar.gz
aspectj-efc1cc47398443b33fe90da11c4cf1d14dc9c108.zip
fix for Bugzilla Bug 41175
binary aspect-declared methods conflict, lost their exception clauses larger fix to address more issues with aspect-declared methods in bytecode form also addressed declared exception issue more generally this fix should be more stable than a smaller hack that just fixed this specific bug report would have been. added a few tests to match increased scope.
Diffstat (limited to 'tests/ajcTests.xml')
-rw-r--r--tests/ajcTests.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml
index 2ae8559ae..1a73d9990 100644
--- a/tests/ajcTests.xml
+++ b/tests/ajcTests.xml
@@ -6549,6 +6549,7 @@
<compile
files="Client.java"
classpath="aspectedInterfaceOnly.jar">
+ <message kind="error" line="0" text="LibraryAspect"/>
<message kind="error" line="9" text="LibraryInterface"/>
</compile>
</ajc-test>
@@ -6629,4 +6630,41 @@
</compile>
</ajc-test>
+ <ajc-test dir="bugs"
+ pr="41175"
+ title="reflective check of declared exceptions from aspect-declared methods">
+ <compile files="DeclaredExceptions.java"/>
+ <run class="DeclaredExceptions"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs/interfaceLibrary"
+ pr="41175"
+ title="exception clause for aspect-declared interface methods - positive binary">
+ <compile files="Client.java" aspectpath="lib.jar"/>
+ <run class="Client"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs/interfaceLibrary"
+ pr="41175"
+ title="exception clause for aspect-declared interface methods - negative binary">
+ <compile files="ClientCE.java" aspectpath="lib.jar">
+ <message kind="error" file="ClientCE.java" line="5"/>
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs/interfaceLibrary"
+ pr="41175"
+ title="exception clause for aspect-declared class methods - positive binary">
+ <compile files="ClassClient.java" aspectpath="libClass.jar"/>
+ <run class="ClassClient"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs/interfaceLibrary"
+ pr="41175"
+ title="exception clause for aspect-declared class methods - negative binary">
+ <compile files="ClassClientCE.java" aspectpath="libClass.jar">
+ <message kind="error" file="ClassClientCE.java" line="5"/>
+ </compile>
+ </ajc-test>
+
</suite>