From 41a94551a155d4862770def8725065d4cad125f2 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 16 Mar 2009 04:53:47 +0000 Subject: 268689: test and fix for npe in generic aspect --- tests/bugs164/pr268689/ConcreteAspect.aj | 12 ++++++++++++ tests/bugs164/pr268689/GenericAspect.aj | 16 ++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 tests/bugs164/pr268689/ConcreteAspect.aj create mode 100644 tests/bugs164/pr268689/GenericAspect.aj (limited to 'tests/bugs164') diff --git a/tests/bugs164/pr268689/ConcreteAspect.aj b/tests/bugs164/pr268689/ConcreteAspect.aj new file mode 100644 index 000000000..10da726d9 --- /dev/null +++ b/tests/bugs164/pr268689/ConcreteAspect.aj @@ -0,0 +1,12 @@ +/** + * + */ +package none; + +/** + * @author Dawid Pytel + * + */ +public aspect ConcreteAspect extends GenericAspect { + +} diff --git a/tests/bugs164/pr268689/GenericAspect.aj b/tests/bugs164/pr268689/GenericAspect.aj new file mode 100644 index 000000000..c102dc328 --- /dev/null +++ b/tests/bugs164/pr268689/GenericAspect.aj @@ -0,0 +1,16 @@ +/** + * + */ +package none; + +/** + * @author Dawid Pytel + * + */ +public abstract aspect GenericAspect { + + interface SomeInterface { + } + + pointcut SomeConstructor(SomeInterface var) : execution(* SomeInterface(..)) && this(var); +} -- cgit v1.2.3