Patrick wrote:

>I'd like to recommend these changes to JSS:
>
>1. have the accept() method in SSLServerSocket throw the
>java.io.InterruptedIOException if the timeout expires, instead of
>SocketException.
>
javax.net.SSLServerSocket throws a SocketTimeoutException when the 
timeout expires. When we implement JSSE-compliance for JSS (scheduled 
04/05/2002), we will do it this way.

I don't want to change the signature of the method because it would 
break compatibility.

>
>2. have the SSLSocket constructor throw a java.net.BindException if the
>local port is in use, instead of the generic SocketException.
>

Since BindException is a subclass of SocketException, this is low risk. 
BindException is the correct exception to throw.

Please file bugs for these items.

Thanks,
-jamie


Reply via email to