Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4
-
Resolution: Duplicate
-
Affects Version/s: 5.0
-
Fix Version/s: None
-
Component/s: security-libs
-
Subcomponent:
-
CPU:generic
-
OS:generic
Description
Name: bkR10012 Date: 05/27/2004
The description of the SSLServerSocket constructors states that only
IOException may be thrown if an I/O error occurs when creating the socket.
But the implementation throws 'IllegalArgumentException: Port value out of
range' if port value is invalid (e.g. negative) and does not throw any
exception if backlog value is negative.
======================================================================
The description of the SSLServerSocket constructors states that only
IOException may be thrown if an I/O error occurs when creating the socket.
But the implementation throws 'IllegalArgumentException: Port value out of
range' if port value is invalid (e.g. negative) and does not throw any
exception if backlog value is negative.
======================================================================
Attachments
Issue Links
- duplicates
-
JDK-5055581 (spec) Unspecified behavior of SSLSocketFactory.createSocket() and SSLSocket constructors
-
- Closed
-
- relates to
-
JDK-6285145 (spec) Unspecified Socket/ServerSocket constructors behavior
-
- Closed
-
-
JDK-6546657 (spec)javax.net.ssl.SSLServerSocket(int port) throws undocumented IAA
-
- Closed
-