]> source.dussan.org Git - aspectj.git/commitdiff
176905: test and fix
authoraclement <aclement>
Fri, 22 Aug 2008 22:09:17 +0000 (22:09 +0000)
committeraclement <aclement>
Fri, 22 Aug 2008 22:09:17 +0000 (22:09 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelField.java

index 10a6ae97a65b908b2ce7ad27c76a17de001188ac..0bc231c7bfb72bdd2ad77af8648542bbb49ff48a 100644 (file)
@@ -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
        }
        
        /**