JDK-6580891 : javax.net.ssl.SSLServerSocket.SSLServerSocket(port, backlog) spec isn't clear
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-07-16
  • Updated: 2012-03-22
  • Resolved: 2009-10-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Relates :  
Description
the test failed:
api/javax_net/ssl/SSLServerSocket/index.html#Ctor3[Ctor3003]

The test calls javax.net.ssl.SSLServerSocket.SSLServerSocket( validPortNumber, -100 ). And this call succeed.

I believe the method should throw IAE. Or the spec should describe RI behaviour in such cases.

Comments
EVALUATION This is a duplicate of 6258215.
30-10-2009

EVALUATION The backlog argument must be a positive value greater than 0. If the value passed is equal or less than 0, then the default value will be assumed. Spec needs to be updated.
31-07-2007