]> source.dussan.org Git - aspectj.git/commitdiff
dont put bridge methods in an interface, you fool.
authoraclement <aclement>
Tue, 15 Nov 2005 16:14:45 +0000 (16:14 +0000)
committeraclement <aclement>
Tue, 15 Nov 2005 16:14:45 +0000 (16:14 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java

index 24e515d23b5a2d3dc9bd42e8f70f669accee0919..2d4932a09b83a7221eb4843d2ff88db6d7547273 100644 (file)
@@ -638,7 +638,7 @@ class BcelClassWeaver implements IClassWeaver {
      */
        public static boolean calculateAnyRequiredBridgeMethods(BcelWorld world,LazyClassGen clazz) {
                if (!world.isInJava5Mode()) return false; // just double check... the caller should have already verified this
-               
+               if (clazz.isInterface()) return false; // dont bother if we're an interface
                boolean didSomething=false; // set if we build any bridge methods
                
                // So what methods do we have right now in this class?