Clone
Paul Merlin
committed
on 12 Oct 16
Explicitly flush System.err on Groovy compiler error
System.err is an "auto-flushing" PrintWriter unless it is replaced.
In practice it's a … Show more
Explicitly flush System.err on Groovy compiler error

System.err is an "auto-flushing" PrintWriter unless it is replaced.

In practice it's a LinePerThreadBufferingOutputStream here, so

definitely not "auto-flushing".

This caused test flakiness and potentially confusing user experience

because of mixed output.

+review REVIEW-6314

Show less

green-master + 391 more