Parent - Child cross-reference causes infinitive loop.
------------------------------------------------------

                 Key: JRUBY-2269
                 URL: http://jira.codehaus.org/browse/JRUBY-2269
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
         Environment: Java 6
            Reporter: Alexey Petrushin


Parent - Child cross-reference causes infinitive loop. 
(Basically i need it to exchange data betwen Java db4o database and Ruby 
application)

{code:title=db4o.rb|borderStyle=solid}
include Java

parent = java.util.HashMap.new
child = java.util.HashMap.new


parent["child"]=child
child["parent"] = parent

puts parent
{code} 

Result:
{code}
db4o.rb:10: stack level too deep (SystemStackError)
{code}

-- 
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


Reply via email to