diff options
author | wisberg <wisberg> | 2003-08-06 07:31:16 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-08-06 07:31:16 +0000 |
commit | c09964fbdb4d97c60c3fc72b3061518369db5161 (patch) | |
tree | bb54234adcc567c2b306ad29887b1eab84accc9f /tests/bugs/interfaceLibrary/ClassClient.java | |
parent | a63bc04fb1cb6e8d6d0bc2a509ab9658e3d78c43 (diff) | |
download | aspectj-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/ClassClient.java')
-rw-r--r-- | tests/bugs/interfaceLibrary/ClassClient.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs/interfaceLibrary/ClassClient.java b/tests/bugs/interfaceLibrary/ClassClient.java new file mode 100644 index 000000000..b3da33370 --- /dev/null +++ b/tests/bugs/interfaceLibrary/ClassClient.java @@ -0,0 +1,14 @@ + +import java.io.IOException; + +public class ClassClient { + public static void main(String[] a) { + try { + new C().run(); + throw new Error("test failed to throw IOException"); + } catch (IOException e) { + } + } +} + +class C extends lib.LibraryClass {}
\ No newline at end of file |