![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.2, JRuby 1.7.1 |
Assignee:
|
Thomas E Enebo
|
Created:
|
22/Jan/13 2:21 AM
|
Description:
|
The method {Socket.tcp_server_sockets} doesn't work in 1.7.1 and 1.7.2 (the method didn't exist in JRuby before 1.7.1 so I assume it's a 1.9.3 addition).
code
$ ruby -rsocket -e 'Socket.tcp_server_sockets(9999)'
NoMethodError: undefined method `each' for nil:NilClass
foreach at /Users/theo/.rvm/rubies/jruby-1.7.2/lib/ruby/1.9/socket.rb:163
tcp_server_sockets at /Users/theo/.rvm/rubies/jruby-1.7.2/lib/ruby/1.9/socket.rb:371
(root) at -e:1
code
|
Environment:
|
jruby 1.7.2 (1.9.3p327) 2013-01-04 302c706 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_10-ea-b13 [darwin-x86_64]
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Theo Hultberg
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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