summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr87376
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-03-10 13:34:55 +0000
committeracolyer <acolyer>2005-03-10 13:34:55 +0000
commit85aa1520881e7271e658b9377dfd020fde28868c (patch)
treebe10a11fe7dd8c4799c4ca75d870bba801d86d94 /tests/bugs150/pr87376
parentea5908c3891ef93331c89e5738770af2712cb5dd (diff)
downloadaspectj-85aa1520881e7271e658b9377dfd020fde28868c.tar.gz
aspectj-85aa1520881e7271e658b9377dfd020fde28868c.zip
fix for Bugzilla Bug 87376
NPE when unresolved type of a bound var in a pointcut expression (EclipseFactory.java:224)
Diffstat (limited to 'tests/bugs150/pr87376')
-rw-r--r--tests/bugs150/pr87376/I.java5
-rw-r--r--tests/bugs150/pr87376/NPE.aj14
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs150/pr87376/I.java b/tests/bugs150/pr87376/I.java
new file mode 100644
index 000000000..78dd3459b
--- /dev/null
+++ b/tests/bugs150/pr87376/I.java
@@ -0,0 +1,5 @@
+package a.b.c;
+
+public interface I {
+
+} \ No newline at end of file
diff --git a/tests/bugs150/pr87376/NPE.aj b/tests/bugs150/pr87376/NPE.aj
new file mode 100644
index 000000000..77d7510ff
--- /dev/null
+++ b/tests/bugs150/pr87376/NPE.aj
@@ -0,0 +1,14 @@
+package a.b.d;
+//import a.b.c.I;
+
+
+
+public aspect NPE {
+
+ pointcut ii(I i) : execution(* I.*(..)) && this(i);
+
+ after(I i) returning : ii(i) {
+ System.out.println(i);
+ }
+
+}