Runner closes System.out stream
Aleksey Shipilev
aleksey.shipilev at oracle.com
Fri Aug 15 20:26:36 UTC 2014
On 08/15/2014 11:12 PM, Dmitry Vyazelenko wrote:
> I’ve got the problem with JMH 0.9.7 when using Runner API. It appears
> that System.out stream is being closed once Runner#run() method is
> executed.
Found the bastard that does it:
http://hg.openjdk.java.net/code-tools/jmh/rev/8e332f3bc3bf
This seems to pass your test. But all in all, we should be more careful,
and set a few trip-wires around System.out. That's for next week:
http://hg.openjdk.java.net/code-tools/jmh/rev/130caa12e774
Thanks,
-Aleksey.
More information about the jmh-dev
mailing list