Name: rmT116609 Date: 07/30/2001
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)
java.nio.channels.SelectableChannel.register has the following signature:
public abstract SelectionKey register(Selector sel, int ops) throws ClosedChannelException
The parameters documentation, however, has:
Parameters:
sel - The selector with which this channel is to be registered
set - The initial interest set for the resulting key
Should "set" be "ops"?
(This affects AbstractSelectableChannel, too.)
(Review ID: 129078)
======================================================================