aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs165/pr272233/Iffy2.java
diff options
context:
space:
mode:
authoraclement <aclement>2009-04-16 19:17:51 +0000
committeraclement <aclement>2009-04-16 19:17:51 +0000
commit43d34f58ff0ee4c9e36ccc083e3c73d22b7c928d (patch)
treeb707075d72408bae643a549d291f0e6315bfba0d /tests/bugs165/pr272233/Iffy2.java
parentbb741e6b112e6f3dff5ea53e1e42956a0418c74e (diff)
downloadaspectj-43d34f58ff0ee4c9e36ccc083e3c73d22b7c928d.tar.gz
aspectj-43d34f58ff0ee4c9e36ccc083e3c73d22b7c928d.zip
272233: test and fix, using 'void<?>'
Diffstat (limited to 'tests/bugs165/pr272233/Iffy2.java')
-rw-r--r--tests/bugs165/pr272233/Iffy2.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs165/pr272233/Iffy2.java b/tests/bugs165/pr272233/Iffy2.java
new file mode 100644
index 000000000..15a5d79fd
--- /dev/null
+++ b/tests/bugs165/pr272233/Iffy2.java
@@ -0,0 +1,16 @@
+import java.util.*;
+import org.aspectj.lang.annotation.*;
+
+@Aspect
+class Iffy2 {
+
+ @Before("execution(!void[] *(..))")
+ public void advice1() {}
+
+ @Before("execution(!void[] *(..))")
+ public void advice2() {}
+
+ public Collection<?>[] getCollectionArray() {
+ return null;
+ }
+}