From: mkersten Date: Thu, 16 Oct 2003 15:15:45 +0000 (+0000) Subject: Fix for bug#44117 X-Git-Tag: mostlyLastEclipse2xTree_20040112~124 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=311725549a379f2bd3c0fcce2aaaae50b7a92ddb;p=aspectj.git Fix for bug#44117 --- diff --git a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java index 5b30b79a8..a1e1e4a06 100644 --- a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java +++ b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java @@ -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); + } } }