JDK-8201315 : (se) Allow SelectableChannel.register to be invoked while selection operation is in progress
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-04-09
  • Updated: 2018-05-11
  • Resolved: 2018-04-18
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 11
11 b11Fixed
Related Reports
CSR :  
Duplicate :  
Duplicate :  
Relates :  
Sub Tasks
JDK-8201496 :  
SelectableChannel.register is specified to synchronize on the selector's key set and therefore may block if invoked while a selection operation is in progress.

This issue tracks relaxing this so that register can be invoked without waiting for a selection operation to complete. New registrations or changes to the key's interest set can take effect at the next selection operation.

The discussion on this topic is here: