(se spec) Description of SelectionKey.interestOps(int ops) incomplete

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • None
    • Affects Version/s: 1.4.0, 1.4.2
    • Component/s: core-libs
    • generic, sparc
    • generic, solaris_2.6



      Name: auR10023 Date: 11/22/2002



      Javadoc for java.nio.channels.SelectionKey.interestOps(int ops) does not
      specify input parameters:

      ...
      public abstract SelectionKey interestOps(int ops)
          Sets this key's interest set to the given value.

          This method may be invoked at any time. Whether or not it blocks, and
          for how long, is implementation-dependent.

          Returns:This selection key
          Throws: IllegalArgumentException - If a bit in the set does not
                  correspond to an operation that is supported by this key's channel,
                  that is, if set & ~(channel().validOps()) != 0

                  CancelledKeyException - If this key has been cancelled
      ...

      ======================================================================

            Assignee:
            Xueming Shen
            Reporter:
            Avu Avu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: