mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8225426: Replace plain with system-default in Socket and ServerSocket
Reviewed-by: alanb, dfuchs
This commit is contained in:
parent
98e6903c57
commit
b6696bad84
2 changed files with 30 additions and 20 deletions
|
@ -106,9 +106,10 @@ class ServerSocket implements java.io.Closeable {
|
|||
* request to connect) is set to {@code 50}. If a connection
|
||||
* indication arrives when the queue is full, the connection is refused.
|
||||
* <p>
|
||||
* If the application has specified a server socket factory, that
|
||||
* factory's {@code createSocketImpl} method is called to create
|
||||
* the actual socket implementation. Otherwise a "plain" socket is created.
|
||||
* If the application has specified a server socket implementation
|
||||
* factory, that factory's {@code createSocketImpl} method is called to
|
||||
* create the actual socket implementation. Otherwise a system-default
|
||||
* socket implementation is created.
|
||||
* <p>
|
||||
* If there is a security manager,
|
||||
* its {@code checkListen} method is called
|
||||
|
@ -150,9 +151,10 @@ class ServerSocket implements java.io.Closeable {
|
|||
* a connection indication arrives when the queue is full, the
|
||||
* connection is refused.
|
||||
* <p>
|
||||
* If the application has specified a server socket factory, that
|
||||
* factory's {@code createSocketImpl} method is called to create
|
||||
* the actual socket implementation. Otherwise a "plain" socket is created.
|
||||
* If the application has specified a server socket implementation
|
||||
* factory, that factory's {@code createSocketImpl} method is called to
|
||||
* create the actual socket implementation. Otherwise a system-default
|
||||
* socket implementation is created.
|
||||
* <p>
|
||||
* If there is a security manager,
|
||||
* its {@code checkListen} method is called
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue