From: aclement Date: Mon, 22 Sep 2008 23:58:59 +0000 (+0000) Subject: attempted fix for 245734 X-Git-Tag: V1_6_2~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f376a21458ead647d32320cfbc779b67c7b7521d;p=aspectj.git attempted fix for 245734 --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java index 2ce7b3717..c92ffe8a7 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java @@ -89,14 +89,14 @@ public class EclipseResolvedMember extends ResolvedMemberImpl { // long abits = realBinding.getAnnotationTagBits(); // ensure resolved Annotation[] annos = getEclipseAnnotations(); - if (annos == null) + if (annos == null) { return null; - // TODO errr missing in action - we need to implement this! Probably - // using something like EclipseAnnotationConvertor - - // itself not finished ;) - throw new RuntimeException( - "not yet implemented - please raise an AJ bug"); - // return super.getAnnotations(); + } + AnnotationAJ[] annoAJs = new AnnotationAJ[annos.length]; + for (int i=0;i