RFR: 8223716: sun/net/www/http/HttpClient/MultiThreadTest.java should be more resilient to unexpected traffic

Daniel Fuchs daniel.fuchs at oracle.com
Wed May 15 17:49:42 UTC 2019


On 15/05/2019 16:17, Chris Hegarty wrote:
> I believe workers should be volatile/synchronized, as it is
> written and read from different threads, no?

Thanks Chris.

workers is a concurrent queue, but the variable should
be final. I'll do it before pushing.

best regards,

-- daniel

> 
> -Chris.



More information about the net-dev mailing list