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

Igor Ignatyev igor.ignatyev at oracle.com
Sat Feb 8 00:21:25 UTC 2020


+1
-- Igor

> On Feb 6, 2020, at 2:19 AM, Andrew Dinn <adinn at redhat.com> wrote:
> 
> 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