diff options
author | mkersten <mkersten> | 2003-10-16 15:15:45 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2003-10-16 15:15:45 +0000 |
commit | 311725549a379f2bd3c0fcce2aaaae50b7a92ddb (patch) | |
tree | 8f1d962c4c8279750842f6fae366f2a8f96593ee | |
parent | 3c7b7de198365554e0bb587fa665e32c44c3e70b (diff) | |
download | aspectj-311725549a379f2bd3c0fcce2aaaae50b7a92ddb.tar.gz aspectj-311725549a379f2bd3c0fcce2aaaae50b7a92ddb.zip |
Fix for bug#44117
-rw-r--r-- | weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java | 4 |
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); + } } } |