Some implementations of URLStreamHandler have 'synchronized' in openConnection method:
1. sun.net.www.protocol.mailto.Handler
2. unix/sun.net.www.protocol.file.Handler
3. windows/sun.net.www.protocol.file.Handler
Handler's objects themselves are stateless objects. Such synchronization is redundant. Other implementations don't have 'synchronized'.
1. sun.net.www.protocol.mailto.Handler
2. unix/sun.net.www.protocol.file.Handler
3. windows/sun.net.www.protocol.file.Handler
Handler's objects themselves are stateless objects. Such synchronization is redundant. Other implementations don't have 'synchronized'.
- relates to
-
JDK-8340993 Opening file URL with non existing host blocks concurrent file URL opening
-
- Open
-