From ba1ff19cc794b2f6d2e0b95f3f80bf13093fd5b4 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 15 Nov 2005 16:14:45 +0000 Subject: [PATCH] dont put bridge methods in an interface, you fool. --- weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java index 24e515d23..2d4932a09 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java @@ -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? -- 2.39.5