Closed Bug 120784 Opened 23 years ago Closed 22 years ago

SSLServerSocket does not throw java.io.InterruptedIOException

Categories

(JSS Graveyard :: Library, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: patrick.o.cesard, Assigned: jamie-bugzilla)

Details

The accept() method in SSLServerSocket should throw the
java.io.InterruptedIOException if the timeout expires, instead of
SocketException.
Target Milestone: --- → 3.2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Summary: SSLServerSocket does not throw java.io.InterruptedIOException → SSLServerSocket does not throw java.io.InterruptedIOException
Target Milestone: 3.2 → 3.2.1
SSLServerSocket.accept() now throws a java.io.InterruptedIOException. Note that
as of JDK 1.4, it should instead throw a java.net.SocketTimeoutException, which
is a subclass of InterruptedIOException. But since we still have to support JDK
< 1.4, I will leave it for now and add a future bug to change to
SocketTimeoutException (bug 164692).

Fixed on JSS_3_2_BRANCH:

/cvsroot/mozilla/security/jss/org/mozilla/jss/util/jss_exceptions.h,v  <-- 
jss_exceptions.h
new revision: 1.7.2.1; previous revision: 1.7

/cvsroot/mozilla/security/jss/org/mozilla/jss/ssl/SSLServerSocket.c,v  <-- 
SSLServerSocket.c
new revision: 1.9.2.1; previous revision: 1.9
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Rename JSS 3.2.1 to JSS 3.3.
Target Milestone: 3.2.1 → 3.3
You need to log in before you can comment on or make changes to this bug.