aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authoraclement <aclement>2004-07-29 12:39:42 +0000
committeraclement <aclement>2004-07-29 12:39:42 +0000
commit45bce91f642a86ca3db7238d9e4cfb81d85e4f5b (patch)
tree9b4d06e48ff89d0771ed4f13007a70f4ca81dc6a /tests/bugs
parent770a4d6a1474764dd24e292e0404c04c44f33d90 (diff)
downloadaspectj-45bce91f642a86ca3db7238d9e4cfb81d85e4f5b.tar.gz
aspectj-45bce91f642a86ca3db7238d9e4cfb81d85e4f5b.zip
Fix for Bugzilla Bug 61536
Front-end bug, shouldn't allow patterns of the form foo.., should be foo..*
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/EllipsesStar.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs/EllipsesStar.java b/tests/bugs/EllipsesStar.java
new file mode 100644
index 000000000..940db8a86
--- /dev/null
+++ b/tests/bugs/EllipsesStar.java
@@ -0,0 +1,13 @@
+// Name patterns can't end with '..'
+aspect A {
+ pointcut endsDot(): call(* java.(..));
+ pointcut p1(): call(* java.lang..(..));
+ pointcut p2(): call((Integer || java.lang..) m(..));
+ pointcut p3(): call(* m() throws java.lang..);
+
+ pointcut p4(): call(* a..b..c..d..(..));
+
+ pointcut p5(): call(* a....(..));
+
+ pointcut p6(): call(java. m());
+} \ No newline at end of file