JDK-5065738 : Unspecified SSLSocket constructors behavior
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2004-06-19
  • Updated: 2007-03-15
  • Resolved: 2004-06-21
Related Reports
Duplicate :  
Description

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.


======================================================================

Comments
EVALUATION Closing as a dup. These are probably related very closely. I put in a comment to also see this bug, as it may have some additional information. ###@###.### 2004-06-21
21-06-2004