]> source.dussan.org Git - aspectj.git/commitdiff
Fix for bug#44117
authormkersten <mkersten>
Thu, 16 Oct 2003 15:15:45 +0000 (15:15 +0000)
committermkersten <mkersten>
Thu, 16 Oct 2003 15:15:45 +0000 (15:15 +0000)
weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java

index 5b30b79a895b49b494005af727e7a466251582c2..a1e1e4a065f48bc94a9d727876813b58800f6c60 100644 (file)
@@ -48,7 +48,9 @@ public class AsmRelationshipProvider {
                        foreward.getTargets().add(targetHandle);
                                
                        IRelationship back = mapper.get(targetHandle, IRelationship.Kind.DECLARE, MATCHES_DECLARE);
-                       back.getTargets().add(sourceHandle);  
+                       if (back != null && back.getTargets() != null) {
+                               back.getTargets().add(sourceHandle);   
+                       }
                }
        }