United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4750577 (ch spec) SelectionKey.isConnectable spec clarification
4750577 : (ch spec) SelectionKey.isConnectable spec clarification

Details
Type:
Bug
Submit Date:
2002-09-20
Status:
Open
Updated Date:
2012-01-07
Project Name:
JDK
Resolved Date:
Component:
core-libs
OS:
solaris_7
Sub-Component:
java.nio
CPU:
sparc
Priority:
P4
Resolution:
Unresolved
Affected Versions:
1.4.2
Targeted Versions:
tbd_major

Related Reports
Relates:

Sub Tasks

Description
The spec of SelectionKey implies that isConnectable might return a history based value instead of a realtime based value. 

                                    

Comments
SUGGESTED FIX

First sentence of SelectionKey.isConnectable spec should say:

    Tests whether this key's channel is ready to finish a socket-connection
    operation, or to report the failure of such an operation.

-- ###@###.### 2002/9/20
                                     
186-10-09 0
EVALUATION

Yes.  -- ###@###.### 2002/9/20
                                     
186-10-09 0



Hardware and Software, Engineered to Work Together