On Tue, 12 Jul 2022 07:22:14 GMT, Jaikiran Pai <j...@openjdk.org> wrote:

> The change here removes the previous call to flush the `System.out`. I 
> believe that's fine because the `PrintStream` here is backed by a 
> `ByteArrayOutputStream` so the flush isn't necessary.

That's a good observation, it would be more robust for the test to create the 
PrintStream with "auto flush" or use an explicit flush. It works now because 
there is sufficient output to trigger flushing. So I'll change this to auto 
flush - thanks!

-------------

PR: https://git.openjdk.org/jdk/pull/9308

Reply via email to