From ce16a06749d562fd123e4ecb984ec3a5a8cf5a94 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 25 Aug 2010 16:41:33 +0000 Subject: [PATCH] 323634: only parameterize if there is something to parameterize --- org.aspectj.matcher/src/org/aspectj/weaver/ReferenceType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/ReferenceType.java b/org.aspectj.matcher/src/org/aspectj/weaver/ReferenceType.java index 17d3ca3ec..eb4bff255 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/ReferenceType.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/ReferenceType.java @@ -818,7 +818,7 @@ public class ReferenceType extends ResolvedType { @Override public PerClause getPerClause() { PerClause pclause = getDelegate().getPerClause(); - if (isParameterizedType()) { // could cache the result here... + if (pclause != null && isParameterizedType()) { // could cache the result here... Map parameterizationMap = getAjMemberParameterizationMap(); pclause = (PerClause) pclause.parameterizeWith(parameterizationMap, world); } -- 2.39.5