From 79854b95cab02f90ef461d668b7f847d739124b9 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 10 Nov 2008 16:27:47 +0000 Subject: [PATCH] 254207: tests and fix --- org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java index 670eb3af2..65401c4ee 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java @@ -528,6 +528,9 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl public CrosscuttingMembers collectCrosscuttingMembers(boolean shouldConcretizeIfNeeded) { crosscuttingMembers = new CrosscuttingMembers(this, shouldConcretizeIfNeeded); + if (getPerClause() == null) { + return crosscuttingMembers; + } crosscuttingMembers.setPerClause(getPerClause()); crosscuttingMembers.addShadowMungers(collectShadowMungers()); // GENERICITDFIX -- 2.39.5