]> source.dussan.org Git - aspectj.git/commitdiff
286341: incremental anno style
authoraclement <aclement>
Sat, 5 Sep 2009 01:46:21 +0000 (01:46 +0000)
committeraclement <aclement>
Sat, 5 Sep 2009 01:46:21 +0000 (01:46 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java

index e8f2b1b4c108c0e5f943c14d755b5771fb42d5bd..a19e2a9f59832b08881a2841e7187ec1d3cd1b4d 100644 (file)
@@ -650,6 +650,7 @@ public class BcelWeaver {
                                        }
                                }
                        }
+                       newP.m_ignoreUnboundBindingForNames = p.m_ignoreUnboundBindingForNames;
                        munger.setPointcut(newP);
                }
                // now that we have optimized individual pointcuts, optimize
@@ -660,7 +661,9 @@ public class BcelWeaver {
                for (Iterator iter = shadowMungers.iterator(); iter.hasNext();) {
                        ShadowMunger munger = (ShadowMunger) iter.next();
                        Pointcut p = munger.getPointcut();
-                       munger.setPointcut(shareEntriesFromMap(p, pcMap));
+                       Pointcut newP = shareEntriesFromMap(p, pcMap);
+                       newP.m_ignoreUnboundBindingForNames = p.m_ignoreUnboundBindingForNames;
+                       munger.setPointcut(newP);
                }
        }