Socket.getservbyname doesn't accept string port argument
--------------------------------------------------------
Key: JRUBY-4868
URL: http://jira.codehaus.org/browse/JRUBY-4868
Project: JRuby
Issue Type: Bug
Components: Extensions
Affects Versions: JRuby 1.5.1
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
Fix For: JRuby 1.6
Will fix.
{noformat}
jruby -rsocket -e "p Socket.getservbyname('21')"
-e:1: no such service 21/tcp (SocketError)
{noformat}
While this works just fine on MRI. See also:
http://groups.google.com/group/jruby-users/browse_thread/thread/87ae297990a1d033#
as a real-live example.
--
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