diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-01-15 14:16:04 +0100 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-01-15 14:41:51 +0100 |
commit | 43cb1e2fc4dc127c39e550bdcd2efaf84c4b7a0f (patch) | |
tree | 689a0354e7f6a439688d16a17f2fefac19fab83e /tests/bugs165/pr272233 | |
parent | a3523e3aaee535e59bc437514d6b3c8e038e65b2 (diff) | |
download | aspectj-43cb1e2fc4dc127c39e550bdcd2efaf84c4b7a0f.tar.gz aspectj-43cb1e2fc4dc127c39e550bdcd2efaf84c4b7a0f.zip |
Fix failing tests after previous commit
After the changes, the weaver's behaviour is now slightly different, but
not actually buggy. Actually, in one case there is now a weaver warning
for a non-matching pointcut which should have been there before, but was
not. I.e., things have improved and the tests are even a bit better now.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/bugs165/pr272233')
-rw-r--r-- | tests/bugs165/pr272233/Iffy2.java | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tests/bugs165/pr272233/Iffy2.java b/tests/bugs165/pr272233/Iffy2.java index 15a5d79fd..99dd10935 100644 --- a/tests/bugs165/pr272233/Iffy2.java +++ b/tests/bugs165/pr272233/Iffy2.java @@ -1,15 +1,24 @@ import java.util.*; import org.aspectj.lang.annotation.*; -@Aspect +@Aspect class Iffy2 { - @Before("execution(!void[] *(..))") + @Before("execution(!void *(..))") public void advice1() {} - @Before("execution(!void[] *(..))") + @Before("execution(!void[] *(..))") public void advice2() {} + @Before("execution(!void *(..))") + public void advice3() {} + + @Before("execution(*..Collection[] *(..))") + public void advice4() {} + + @Before("execution(java.util.Collection<?>[] *(..))") + public void advice5() {} + public Collection<?>[] getCollectionArray() { return null; } |