diff options
-rw-r--r-- | weaver/src/main/java/org/aspectj/weaver/bcel/BcelShadow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/main/java/org/aspectj/weaver/bcel/BcelShadow.java b/weaver/src/main/java/org/aspectj/weaver/bcel/BcelShadow.java index d814903c9..1efa88fc8 100644 --- a/weaver/src/main/java/org/aspectj/weaver/bcel/BcelShadow.java +++ b/weaver/src/main/java/org/aspectj/weaver/bcel/BcelShadow.java @@ -375,7 +375,7 @@ public class BcelShadow extends Shadow { int i = 0; for (BcelAdvice element : badAdvice) { ISourceLocation sLoc = element.getSourceLocation(); - if (sLoc != null) { + if (sLoc != null && sLoc.getLine() > 0) { badLocs[i++] = sLoc; } } |