diff options
author | aclement <aclement> | 2009-04-04 18:41:40 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-04-04 18:41:40 +0000 |
commit | b90b11e6346a98ec268bfc7619e4d8980b939429 (patch) | |
tree | fe59eacb37d97ea2643c1df94c2ca495410ebe27 /tests/bugs165 | |
parent | df5127eb48ca10ae10014c5a05dfcce9bf5839ff (diff) | |
download | aspectj-b90b11e6346a98ec268bfc7619e4d8980b939429.tar.gz aspectj-b90b11e6346a98ec268bfc7619e4d8980b939429.zip |
271169: test and fix: npe in weave call method with 4 longs
Diffstat (limited to 'tests/bugs165')
-rw-r--r-- | tests/bugs165/pr271169/HypChecksums.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs165/pr271169/HypChecksums.java b/tests/bugs165/pr271169/HypChecksums.java new file mode 100644 index 000000000..f76fa9272 --- /dev/null +++ b/tests/bugs165/pr271169/HypChecksums.java @@ -0,0 +1,19 @@ +public class HypChecksums { + + static class Adler { + long combine(long a, long b, long c, long d) { + return 3; + } + } + + public static void main(final String[] pArgs) { + Adler comb = new Adler(); + comb.combine(4, 2, 3, 3); + } +} + +aspect X { + Object around(): call(* combine(..)) && !within(X) { + return proceed(); + } +} |