]> source.dussan.org Git - aspectj.git/commitdiff
48080: inserts in messages
authoraclement <aclement>
Sat, 13 Mar 2010 01:01:45 +0000 (01:01 +0000)
committeraclement <aclement>
Sat, 13 Mar 2010 01:01:45 +0000 (01:01 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelWorld.java

index 4842315ae5d4611367a63b12d9373c8cf2f3232f..9a9a203479d2b29632f12f41318b67c12f33a329 100644 (file)
@@ -865,7 +865,7 @@ public class BcelWorld extends World implements Repository {
 
        @Override
        public void reportCheckerMatch(Checker checker, Shadow shadow) {
-               IMessage iMessage = new Message(checker.getMessage(), shadow.toString(), checker.isError() ? IMessage.ERROR
+               IMessage iMessage = new Message(checker.getMessage(shadow), shadow.toString(), checker.isError() ? IMessage.ERROR
                                : IMessage.WARNING, shadow.getSourceLocation(), null, new ISourceLocation[] { checker.getSourceLocation() }, true,
                                0, -1, -1);