Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.4
-
Fix Version/s: JRuby 1.6.5, JRuby 1.7.0.pre1
-
Component/s: Intro, Standard Library
-
Labels:
-
Environment:Mac OS X 10.7.2
-
Number of attachments :
Description
jruby's implementation of TCPSocket#new does not accept nil values for local_addr and local_port, as in:
TCPSocket.new('someplace', 1234, nil, nil)
Raises an exception. On MRI it silently ignores the nil values. RBX recently fixed theirs to behave as MRI does.
You can assign this to me if you'd like. @codertrader