diff options
author | aclement <aclement> | 2005-04-13 11:43:48 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-04-13 11:43:48 +0000 |
commit | 88cd54788c51a631ba890e6ee9e76d36093b7ff4 (patch) | |
tree | 112605c5400fb1a28356bee1541b039d0a9e9e82 /weaver | |
parent | 60edf48d3cac5e64a4f8d35345794ef89822ea9f (diff) | |
download | aspectj-88cd54788c51a631ba890e6ee9e76d36093b7ff4.tar.gz aspectj-88cd54788c51a631ba890e6ee9e76d36093b7ff4.zip |
Fix for pr90806 - stash sourcecontext whilst we have it.
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java b/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java index 749243810..21af036b5 100644 --- a/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java +++ b/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java @@ -52,12 +52,15 @@ public class ResolvedPointcutDefinition extends ResolvedMember { } public static ResolvedPointcutDefinition read(VersionedDataInputStream s, ISourceContext context) throws IOException { - return new ResolvedPointcutDefinition( + ResolvedPointcutDefinition rpd = + new ResolvedPointcutDefinition( TypeX.read(s), s.readInt(), s.readUTF(), TypeX.readArray(s), Pointcut.read(s, context)); + rpd.setSourceContext(context); // whilst we have a source context, let's remember it + return rpd; } public String toString() { |