]> source.dussan.org Git - aspectj.git/commitdiff
350800
authoraclement <aclement>
Thu, 30 Jun 2011 17:30:33 +0000 (17:30 +0000)
committeraclement <aclement>
Thu, 30 Jun 2011 17:30:33 +0000 (17:30 +0000)
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java

index 1a62b081a92a247b160b1cf8a4dd5d1dd45e571a..c4e519715d745c2874ed7f56fe9247a083334484 100644 (file)
@@ -1597,7 +1597,7 @@ public class AtAjAttributes {
                                        || AjcMemberMaker.TYPEX_PROCEEDINGJOINPOINT.equals(argumentType)
                                        || AjcMemberMaker.TYPEX_STATICJOINPOINT.equals(argumentType)
                                        || AjcMemberMaker.TYPEX_ENCLOSINGSTATICJOINPOINT.equals(argumentType) || AjcMemberMaker.AROUND_CLOSURE_TYPE
-                                       .equals(argumentType))) {
+                                               .equals(argumentType))) {
                                // continue;// skip
                                bindings.add(new FormalBinding.ImplicitFormalBinding(argumentType, argumentName, i));
                        } else {
@@ -1873,7 +1873,7 @@ public class AtAjAttributes {
 
                public LazyResolvedPointcutDefinition(UnresolvedType declaringType, int modifiers, String name,
                                UnresolvedType[] parameterTypes, UnresolvedType returnType, Pointcut pointcut, IScope binding) {
-                       super(declaringType, modifiers, name, parameterTypes, returnType, null);
+                       super(declaringType, modifiers, name, parameterTypes, returnType, Pointcut.makeMatchesNothing(Pointcut.RESOLVED));
                        m_pointcutUnresolved = pointcut;
                        m_binding = binding;
                }