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

NioSocketChannelImpl suspendWrites method suspends reads instead of writes

XMLWordPrintable

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

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

      public void suspendWrites() {
      try

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

      catch (CancelledKeyException ex)

      { // ignore }

      }

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

                Created:
                Updated:
                Resolved:

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