From: aclement Date: Thu, 17 Jan 2008 00:10:53 +0000 (+0000) Subject: AspectJ6: picking up compiler interface changes X-Git-Tag: V1_6_0M1~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3265aa9f9a34c392ec4f39371664e2c17173bbcd;p=aspectj.git AspectJ6: picking up compiler interface changes --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeFieldBinding.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeFieldBinding.java index fbcde4c71..644858163 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeFieldBinding.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeFieldBinding.java @@ -40,7 +40,10 @@ public class InterTypeFieldBinding extends FieldBinding { targetType = (ReferenceBinding)world.makeTypeBinding(munger.getSignature().getDeclaringType()); this.declaringClass = (ReferenceBinding)world.makeTypeBinding(withinType); - + // We called the super() with null, we must now do the last step that will have been skipped because of this, see the supers() final line: + // OPTIMIZE dont makeFieldBinding twice, HORRIBLE + setAnnotations(world.makeFieldBinding(munger.getSignature(),munger.getTypeVariableAliases()).getAnnotations()); + reader = new SimpleSyntheticAccessMethodBinding( world.makeMethodBinding( AjcMemberMaker.interFieldGetDispatcher(munger.getSignature(), withinType)