Skip to content

Commit 953a831

Browse files
committed
Fix GitHub #214
Signed-off-by: Alexander Kriegisch <[email protected]>
1 parent 782cd41 commit 953a831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weaver/src/main/java/org/aspectj/weaver/bcel/BcelShadow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ protected void prepareForMungers() {
375375
int i = 0;
376376
for (BcelAdvice element : badAdvice) {
377377
ISourceLocation sLoc = element.getSourceLocation();
378-
if (sLoc != null) {
378+
if (sLoc != null && sLoc.getLine() > 0) {
379379
badLocs[i++] = sLoc;
380380
}
381381
}

0 commit comments

Comments
 (0)