-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
generic
-
generic
Name: aiR10266 Date: 06/19/2004
The description of the SSLSocket constructors states that only IOException may be
thrown if an I/O error occurs when creating the socket or UnknownHostException may
be thrown if the host is not known.
But the implementation throws 'IllegalArgumentException: Port value out of range'
if port value is invalid (e.g. negative), and NullPointerException if the address
value is null.
======================================================================
- duplicates
-
JDK-5055581 (spec) Unspecified behavior of SSLSocketFactory.createSocket() and SSLSocket constructors
- Closed