Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-57

NioSocketChannelImpl suspendWrites method suspends reads instead of writes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 1.2.0.CR1
    • None
    • nio-impl
    • None
    • Low

    Description

      Looks like a simple copy/paste (from suspendReads) bug.

      public void suspendWrites() {
      try

      { readHandle.suspend(); // <--Doh! }

      catch (CancelledKeyException ex)

      { // ignore }

      }

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            robhadfield_jira Robert Hadfield (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5 minutes
                5m
                Remaining:
                Remaining Estimate - 5 minutes
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified