diff options
author | aclement <aclement> | 2009-03-16 04:53:47 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-03-16 04:53:47 +0000 |
commit | 41a94551a155d4862770def8725065d4cad125f2 (patch) | |
tree | 6751e5c8d24a7118da8405736d0a7a5cca62c566 /tests/bugs164 | |
parent | 4140fa3d7466876d427d82ed8ab949cf332e160d (diff) | |
download | aspectj-41a94551a155d4862770def8725065d4cad125f2.tar.gz aspectj-41a94551a155d4862770def8725065d4cad125f2.zip |
268689: test and fix for npe in generic aspect
Diffstat (limited to 'tests/bugs164')
-rw-r--r-- | tests/bugs164/pr268689/ConcreteAspect.aj | 12 | ||||
-rw-r--r-- | tests/bugs164/pr268689/GenericAspect.aj | 16 |
2 files changed, 28 insertions, 0 deletions
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<String> { + +} 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<T> { + + interface SomeInterface { + } + + pointcut SomeConstructor(SomeInterface var) : execution(* SomeInterface(..)) && this(var); +} |