Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat Booth2013-07-18 01:21:53 -0400
committerJayaprakash Arthanareeswaran2013-07-18 01:55:38 -0400
commit2f57f8dfaade218a320169042ea7ed8e042be61d (patch)
tree3dfab7957b4185af904895670d1562a847bf38ae
parentfcd90e4a2f5e40578ea3ad28461a3e5ea180ab4e (diff)
downloadeclipse.jdt.core-2f57f8dfaade218a320169042ea7ed8e042be61d.tar.gz
eclipse.jdt.core-2f57f8dfaade218a320169042ea7ed8e042be61d.tar.xz
eclipse.jdt.core-2f57f8dfaade218a320169042ea7ed8e042be61d.zip
Fix for bug 405176 - [Batch] Add a newline to the end of ecj error
output Signed-off-by: Mat Booth <eclipse@matbooth.co.uk>
-rw-r--r--org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
index ae7c257d79..521982c155 100644
--- a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
+++ b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
@@ -19,6 +19,7 @@
* bug 375366 - ECJ ignores unusedParameterIncludeDocCommentReference unless enableJavadoc option is set
* bug 388281 - [compiler][null] inheritance of null annotations as an option
* bug 381443 - [compiler][null] Allow parameter widening from @NonNull to unannotated
+ * Mat Booth - Contribution for bug 405176
*******************************************************************************/
package org.eclipse.jdt.internal.compiler.batch;
@@ -914,7 +915,7 @@ public class Main implements ProblemSeverities, SuffixConstants {
}));
}
}
- if ((this.tagBits & Logger.EMACS) != 0) {
+ if ((this.tagBits & Logger.XML) == 0) {
this.printlnErr();
}
}

Back to the top