diff options
author | acolyer <acolyer> | 2005-11-22 09:28:09 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-11-22 09:28:09 +0000 |
commit | 554e73397c0b80ce32e56cf3adeb6921783e005d (patch) | |
tree | 8bfd42ffa88ab47a7787aedb5428ce12965cc9ff /tests/bugs150 | |
parent | 735d94f91a02e08bf5a1a86185b9318de4bd4319 (diff) | |
download | aspectj-554e73397c0b80ce32e56cf3adeb6921783e005d.tar.gz aspectj-554e73397c0b80ce32e56cf3adeb6921783e005d.zip |
tests and fix for pr103051 :- declare soft and adviceexecution
Diffstat (limited to 'tests/bugs150')
-rw-r--r-- | tests/bugs150/Pr103051.aj | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs150/Pr103051.aj b/tests/bugs150/Pr103051.aj new file mode 100644 index 000000000..99e810431 --- /dev/null +++ b/tests/bugs150/Pr103051.aj @@ -0,0 +1,12 @@ +import java.io.IOException; + +public aspect Pr103051 { + declare soft: IOException: within(Pr103051) && adviceexecution(); + + before() : execution(* main(..)) { + throw new IOException("test"); + } + + public static void main(String args[]) { + } +}
\ No newline at end of file |