Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java')
-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