9 RFR: 8178147: Race conditions in timeout handling code in http/2 incubator client
Daniel Fuchs
daniel.fuchs at oracle.com
Thu Apr 6 13:19:03 UTC 2017
On 06/04/2017 14:08, Daniel Fuchs wrote:
> The only reason I touched this method is because I noticed the
> possibility of ConcurrentModificationException if we reached there.
Well - now that I think about it again CME would probably not have
happened with the old code either since we broke out of the loop
with return just after the modification. But seeing remove() within
a foreach loop was just a red flag....
best,
-- daniel
More information about the net-dev
mailing list