RFR (XS) 8238366: CTW runner closes standard output on exit

Andrew Dinn adinn at redhat.com
Thu Feb 6 10:19:37 UTC 2020


On 06/02/2020 09:37, Aleksey Shipilev wrote:
> Bug:
>   https://bugs.openjdk.java.net/browse/JDK-8238366
> 
> Pretty simple one. When log file is enabled, OUT is the reference to the FileOutputStream, and it
> indeed needs closing. But by default OUT is the reference to System.out, and closing it foobars the
> output that VM prints on shutdown.
> 
> Fix:
> . . .
> 
> Testing: adhoc CTW runs, run-test applications/ctw/modules/
Looks good and trivial.

regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill



More information about the hotspot-compiler-dev mailing list