if(!(rawChannel instanceof SelectableChannel)) {
throw runtime.newArgumentError("not a selectable IO object");
}
SelectableChannel channel = (SelectableChannel)rawChannel;
SelectionKey key = channel.keyFor(this.selector);
if(key == null)
return context.nil;