From d0d65ce7c4a156ccd7e5dcd9bc72a61b853a32f9 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 22 Aug 2008 22:09:17 +0000 Subject: [PATCH] 176905: test and fix --- weaver/src/org/aspectj/weaver/bcel/BcelField.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelField.java b/weaver/src/org/aspectj/weaver/bcel/BcelField.java index 10a6ae97a..0bc231c7b 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelField.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelField.java @@ -184,14 +184,9 @@ final class BcelField extends ResolvedMemberImpl { annotationTypes = new HashSet(); } // Add it to the set of annotation types - annotationTypes.add(UnresolvedType.forName(annotation.getTypeName()).resolve(world)); + String typename = annotation.getTypeSignature(); + annotationTypes.add(UnresolvedType.forSignature(typename).resolve(world)); annotationsAdded=true; - // FIXME asc this call here suggests we are managing the annotations at - // too many levels, here in BcelField we keep a set and in the lower 'field' - // object we keep a set - we should think about reducing this to one - // level?? - //field.addAnnotation(annotation.getBcelAnnotation()); - // FIXME CUSTARD } /** -- 2.39.5