You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JavacCompiler is ignoring the standard output of the javac executable (thus ignoring the verbose configuration) when used in forked mode.
This is because in the method compileOutOfProcess, the CommandLineUtils.StringStreamConsumer out variable populated with the standard output is ignored when populating the resulting messages:
returnCode = CommandLineUtils.executeCommandLine( cli, out, err );
messages = parseModernStream( returnCode, new BufferedReader( new StringReader( err.getOutput() ) ) );
As suggested fix, the parseModernStream method should take both the result of the error output and standard output.
The text was updated successfully, but these errors were encountered:
Tunaki
added a commit
to Tunaki/plexus-compiler
that referenced
this issue
Apr 23, 2016
This is triggered by the Stack Overflow question No verbose output when fork option is used for maven-compiler-plugin.
The
JavacCompiler
is ignoring the standard output of the javac executable (thus ignoring the verbose configuration) when used in forked mode.This is because in the method
compileOutOfProcess
, theCommandLineUtils.StringStreamConsumer out
variable populated with the standard output is ignored when populating the resulting messages:As suggested fix, the
parseModernStream
method should take both the result of the error output and standard output.The text was updated successfully, but these errors were encountered: