(ch) Incorrect parameters list in docs for SelectableChannel.register (spec)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • fcs
    • generic
    • generic



      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)
      ======================================================================

            Assignee:
            Mark Reinhold
            Reporter:
            Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: