RFR: 8213942:URLStreamHandler initialization race

Seán Coffey sean.coffey at oracle.com
Tue Nov 20 17:55:43 UTC 2018


A race condition recently reported by the WLS team. Access to the 
handlers Hashtable and the factory should be made while holding the 
streamHandlerLock lock.

WLS team also made efforts to create a reproducer. I've modified to 
jtreg format and reduced it down further for unit testing.

https://bugs.openjdk.java.net/browse/JDK-8213942
webrev: http://cr.openjdk.java.net/~coffeys/webrev.8213942/webrev/

regards,
Sean.



More information about the net-dev mailing list