summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java5
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() {