mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8252996: Thread safety problem in java.net.ProxySelector
Reviewed-by: alanb
This commit is contained in:
parent
a4c6a99e61
commit
cca3a26e43
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public abstract class ProxySelector {
|
|||
*
|
||||
* @see #setDefault(ProxySelector)
|
||||
*/
|
||||
private static ProxySelector theProxySelector;
|
||||
private static volatile ProxySelector theProxySelector;
|
||||
|
||||
static {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue