Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4783200

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.4.0, 1.4.2
    • 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
      ...

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: