summaryrefslogtreecommitdiffstats
path: root/tests/bugs/interfaceLibrary/LibraryClassAspect.java
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-08-06 07:31:16 +0000
committerwisberg <wisberg>2003-08-06 07:31:16 +0000
commitc09964fbdb4d97c60c3fc72b3061518369db5161 (patch)
treebb54234adcc567c2b306ad29887b1eab84accc9f /tests/bugs/interfaceLibrary/LibraryClassAspect.java
parenta63bc04fb1cb6e8d6d0bc2a509ab9658e3d78c43 (diff)
downloadaspectj-c09964fbdb4d97c60c3fc72b3061518369db5161.tar.gz
aspectj-c09964fbdb4d97c60c3fc72b3061518369db5161.zip
@testcase PR#41175 aspect-declared methods with exception clauses fail in binary libraries
Corresponding non-binary passing tests added to ajcTests.xml
Diffstat (limited to 'tests/bugs/interfaceLibrary/LibraryClassAspect.java')
-rw-r--r--tests/bugs/interfaceLibrary/LibraryClassAspect.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/bugs/interfaceLibrary/LibraryClassAspect.java b/tests/bugs/interfaceLibrary/LibraryClassAspect.java
new file mode 100644
index 000000000..ff65af6e3
--- /dev/null
+++ b/tests/bugs/interfaceLibrary/LibraryClassAspect.java
@@ -0,0 +1,8 @@
+
+import java.io.IOException;
+
+aspect LibraryClassAspect {
+ public void lib.LibraryClass.run() throws IOException {
+ throw new IOException("LibraryClassAspect-defined run() for " + this);
+ }
+} \ No newline at end of file