Array#join can't handle nested recursive arrays
-----------------------------------------------
Key: JRUBY-2057
URL: http://jira.codehaus.org/browse/JRUBY-2057
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1RC1
Environment: Latest JRuby 1.1RC1
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
The following snippet:
{noformat}
x = [["one", "two"], ["three", "four"]]
x << x
x.join('/')
{noformat}
Returns 'one/two/three/four/one/two/three/four/[...]' on MRI,
but fails with stack too deep error on JRuby.
I've already added rubyspec for this case, so JRuby fails it now.
Fix is coming.
--
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