mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8344222: Remove calls to SecurityManager and doPrivileged in java.net.HttpURLConnection, java.net.HttpConnectSocketImpl, and javax.net.HttpsURLConnection after JEP 486 integration
Reviewed-by: dfuchs, jpai
This commit is contained in:
parent
9793e73bc1
commit
25dd51e4fc
4 changed files with 7 additions and 50 deletions
|
@ -226,7 +226,6 @@ public abstract class HttpsURLConnection extends HttpURLConnection {
|
|||
throw new IllegalArgumentException(
|
||||
"no default HostnameVerifier specified");
|
||||
}
|
||||
|
||||
defaultHostnameVerifier = v;
|
||||
}
|
||||
|
||||
|
@ -300,7 +299,6 @@ public abstract class HttpsURLConnection extends HttpURLConnection {
|
|||
throw new IllegalArgumentException(
|
||||
"no default SSLSocketFactory specified");
|
||||
}
|
||||
|
||||
defaultSSLSocketFactory = sf;
|
||||
}
|
||||
|
||||
|
@ -342,7 +340,6 @@ public abstract class HttpsURLConnection extends HttpURLConnection {
|
|||
throw new IllegalArgumentException(
|
||||
"no SSLSocketFactory specified");
|
||||
}
|
||||
|
||||
sslSocketFactory = sf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue