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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0, 1.4.2
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_2.6

      Description



      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
      ...

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: