diff options
Diffstat (limited to 'tests/bugs150/pr87376')
-rw-r--r-- | tests/bugs150/pr87376/I.java | 5 | ||||
-rw-r--r-- | tests/bugs150/pr87376/NPE.aj | 14 |
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); + } + +} |