aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten <mkersten>2003-10-16 15:15:45 +0000
committermkersten <mkersten>2003-10-16 15:15:45 +0000
commit311725549a379f2bd3c0fcce2aaaae50b7a92ddb (patch)
tree8f1d962c4c8279750842f6fae366f2a8f96593ee
parent3c7b7de198365554e0bb587fa665e32c44c3e70b (diff)
downloadaspectj-311725549a379f2bd3c0fcce2aaaae50b7a92ddb.tar.gz
aspectj-311725549a379f2bd3c0fcce2aaaae50b7a92ddb.zip
Fix for bug#44117
-rw-r--r--weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java4
1 files changed, 3 insertions, 1 deletions
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);
+ }
}
}