diff options
-rw-r--r-- | weaver/src/org/aspectj/weaver/AsmAdaptor.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/AsmAdaptor.java b/weaver/src/org/aspectj/weaver/AsmAdaptor.java index dc7a94695..ba84390f9 100644 --- a/weaver/src/org/aspectj/weaver/AsmAdaptor.java +++ b/weaver/src/org/aspectj/weaver/AsmAdaptor.java @@ -150,7 +150,8 @@ public class AsmAdaptor { ProgramElementNode peNode = new ProgramElementNode( shadow.toString(), ProgramElementNode.Kind.CODE, - new SourceLocation(enclosingNode.getSourceLocation().getSourceFile(), sl.getLine()), +//XXX why not use shadow file? new SourceLocation(sl.getSourceFile(), sl.getLine()), + new SourceLocation(enclosingNode.getSourceLocation().getSourceFile(), sl.getLine()), // enclosingNode.getSourceLocation(), 0, "", |