From 3265aa9f9a34c392ec4f39371664e2c17173bbcd Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 17 Jan 2008 00:10:53 +0000 Subject: [PATCH] AspectJ6: picking up compiler interface changes --- .../ajdt/internal/compiler/lookup/InterTypeFieldBinding.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.39.5