]> source.dussan.org Git - aspectj.git/commitdiff
302460: debug
authoraclement <aclement>
Thu, 11 Feb 2010 21:34:31 +0000 (21:34 +0000)
committeraclement <aclement>
Thu, 11 Feb 2010 21:34:31 +0000 (21:34 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java

index 5a455e75b5194dc6806c2d95755c7e401714616e..c68a37a4efc6459ca28573a24c4db3b4ccfe4a04 100644 (file)
@@ -926,8 +926,7 @@ public class BcelTypeMunger extends ConcreteTypeMunger {
                                                                MessageUtil.error("ITD target " + rt.getName() + " doesn't appear to implement " + onType.getName()
                                                                                + " why did we consider it the top most implementor? ITD is " + this.getSignature(), sloc));
                                        }
-                               }
-                               if (!rtx.isExposedToWeaver()) {
+                               } else if (!rtx.isExposedToWeaver()) {
                                        ISourceLocation sLoc = munger.getSourceLocation();
                                        classWeaver.getWorld().getMessageHandler().handleMessage(
                                                        MessageUtil.error(WeaverMessages.format(WeaverMessages.ITD_NON_EXPOSED_IMPLEMENTOR, rtx,