jruby's select() doesn't properly handle objects that implement to_io
---------------------------------------------------------------------

                 Key: JRUBY-2631
                 URL: http://jira.codehaus.org/browse/JRUBY-2631
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1.2
            Reporter: Kevin Ballard
            Assignee: Thomas E Enebo
         Attachments: jruby-select.patch

RubyIO's select_static() assumes that the attachment to the SelectionKey is a 
RubyIO object, when in fact it could just be an IRubyObject that implements 
to_io. This patch fixes that assumption.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to