mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
This commit is contained in:
parent
29f03ebf2c
commit
9ffe7e1205
257 changed files with 764 additions and 591 deletions
|
@ -47,8 +47,8 @@ import javax.net.ssl.SSLProtocolException;
|
|||
import javax.net.ssl.SSLServerSocket;
|
||||
import javax.net.ssl.SSLSession;
|
||||
import javax.net.ssl.SSLSocket;
|
||||
import jdk.internal.misc.JavaNetInetAddressAccess;
|
||||
import jdk.internal.misc.SharedSecrets;
|
||||
import jdk.internal.access.JavaNetInetAddressAccess;
|
||||
import jdk.internal.access.SharedSecrets;
|
||||
|
||||
/**
|
||||
* Implementation of an SSL socket.
|
||||
|
@ -1229,7 +1229,7 @@ public final class SSLSocketImpl
|
|||
// identification. Use the application original specified
|
||||
// hostname or IP address instead.
|
||||
|
||||
// Get the original hostname via jdk.internal.misc.SharedSecrets
|
||||
// Get the original hostname via jdk.internal.access.SharedSecrets
|
||||
InetAddress inetAddress = getInetAddress();
|
||||
if (inetAddress == null) { // not connected
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue