Jordan Sissel created JRUBY-6526: ------------------------------------ Summary: Socket#accept no such method? Key: JRUBY-6526 URL: https://jira.codehaus.org/browse/JRUBY-6526 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6.6, JRuby 1.6.7 Reporter: Jordan Sissel Assignee: Thomas E Enebo
Code: https://github.com/jordansissel/experiments/blob/master/ruby/sockets/listen.rb {noformat} % ruby listen.rb NoMethodError: undefined method `accept' for #<Socket:0x52c4c57> (root) at listen.rb:12 % ruby --1.9 listen.rb NoMethodError: undefined method `accept' for #<Socket:fd 6> (root) at listen.rb:12 {noformat} Here's a breakdown of looking for Socket#accept on various rubies: {noformat} {:version=>"1.8.7 @ jruby-1.6.5", :has_accept?=>false} {:version=>"1.8.7 @ jruby-1.6.6", :has_accept?=>false} {:version=>"1.8.7 @ jruby-1.6.7", :has_accept?=>false} {:version=>"1.8.7 @ ruby", :has_accept?=>true} {:version=>"1.9.2 @ jruby-1.6.5", :has_accept?=>false} {:version=>"1.9.2 @ jruby-1.6.6", :has_accept?=>false} {:version=>"1.9.2 @ jruby-1.6.7", :has_accept?=>false} {:version=>"1.9.2 @ ruby", :has_accept?=>true} {:version=>"1.9.3 @ ruby", :has_accept?=>true} {noformat} Thoughts? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.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