]> source.dussan.org Git - aspectj.git/commitdiff
254207: tests and fix
authoraclement <aclement>
Mon, 10 Nov 2008 16:27:47 +0000 (16:27 +0000)
committeraclement <aclement>
Mon, 10 Nov 2008 16:27:47 +0000 (16:27 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java

index 670eb3af2496f834e7b4a9491f2ac1275385ce69..65401c4eec0106a2347405424857373c61341873 100644 (file)
@@ -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