Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.2, 2.1
-
Fix Version/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
When using the annotation processor API to print messages through the javax.annotation.processing.Messager object, only messagesspecified by levels javax.tools.Diagnostic.Kind.ERROR and javax.tools.Diagnostic.Kind.MANDATORY_WARNING are displayed (and cause the build to fail). All other messages are swallowed.
Note that while the attached JUnit test case is necessary to help expose the problem, passing it will not imply that the bug is fixed. The only way to confirm the fix (that I know of) is to examine console output.
Issue Links
- is depended upon by
-
MCOMPILER-98
-sourcepath not passed to javac
-
- is duplicated by
-
MCOMPILER-126
Annotation processing messager output is swallowed
-
- relates to
-
PLXCOMP-1
The java compiler wrapper is not processing the compiler output very well at all
-
Possible cause in JavacCompiler.java:
else if ( buffer.length() == 0 && line.startsWith( "Note: " ) )
{ // skip this one - it is JDK 1.5 telling us that the interface is deprecated. }