aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-03-15 16:38:44 +0000
committeracolyer <acolyer>2004-03-15 16:38:44 +0000
commit087842e53c2f60333d1114f8781fa77f619175e8 (patch)
tree38e47b9898f9848cf6bec740be78556d8e200fbc
parent03abae3c03923335a4650d47d590d188062e9765 (diff)
downloadaspectj-087842e53c2f60333d1114f8781fa77f619175e8.tar.gz
aspectj-087842e53c2f60333d1114f8781fa77f619175e8.zip
fix for Bugzilla Bug 48080
Context information in declare warning/error messages
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java b/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java
index 9d1fe890f..0fa806314 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java
@@ -450,6 +450,13 @@ public class Main {
sb.append(LangUtil.EOL);
sb.append(context);
}
+
+ String details = message.getDetails();
+ if (details != null) {
+ sb.append(LangUtil.EOL);
+ sb.append('\t');
+ sb.append(details);
+ }
Throwable thrown = message.getThrown();
if (null != thrown) {
sb.append(LangUtil.EOL);