diff options
author | aclement <aclement> | 2009-02-04 21:19:47 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-02-04 21:19:47 +0000 |
commit | b8a9c0463f679c5cd681c724c5e9cf1518e1813b (patch) | |
tree | 97f01e851a8ba40dae99289f9c9d24724035b259 /tests/bugs164/pr263666/x/OverrideOptions.aj | |
parent | 518cb3776d4ba529dbbbd1233bd6dc1e385c2469 (diff) | |
download | aspectj-b8a9c0463f679c5cd681c724c5e9cf1518e1813b.tar.gz aspectj-b8a9c0463f679c5cd681c724c5e9cf1518e1813b.zip |
263666: missing counter for around advice differing in return type
Diffstat (limited to 'tests/bugs164/pr263666/x/OverrideOptions.aj')
-rw-r--r-- | tests/bugs164/pr263666/x/OverrideOptions.aj | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/bugs164/pr263666/x/OverrideOptions.aj b/tests/bugs164/pr263666/x/OverrideOptions.aj new file mode 100644 index 000000000..cccc7798a --- /dev/null +++ b/tests/bugs164/pr263666/x/OverrideOptions.aj @@ -0,0 +1,32 @@ +package x; +public aspect OverrideOptions +{ + + + + + + + + + + + + + + + + /** + * Comment A + */ + boolean around() : execution( public boolean A.a() ) && this( A ) + { + return false; + } + /** + * Comment B + */ + int around() : execution(private int B.b(..)) && this(B){ + return 0; + } +}
\ No newline at end of file |