SSLServerSocket does not throw java.io.InterruptedIOException

RESOLVED FIXED in 3.3

Status

JSS
Library
P3
normal
RESOLVED FIXED
16 years ago
16 years ago

People

(Reporter: Patrick O. Cesard, Assigned: Jamie Nicolson)

Tracking

Details

(Reporter)

Description

16 years ago
The accept() method in SSLServerSocket should throw the
java.io.InterruptedIOException if the timeout expires, instead of
SocketException.
(Assignee)

Updated

16 years ago
Target Milestone: --- → 3.2
(Assignee)

Updated

16 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Summary: SSLServerSocket does not throw java.io.InterruptedIOException → SSLServerSocket does not throw java.io.InterruptedIOException
(Assignee)

Updated

16 years ago
Target Milestone: 3.2 → 3.2.1
(Assignee)

Comment 1

16 years ago
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
Last Resolved: 16 years ago
Resolution: --- → FIXED
(Assignee)

Comment 2

16 years ago
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.