Issue Type: Bug Bug
Affects Versions: JRuby 1.7.3
Assignee: Thomas E Enebo
Created: 30/Mar/13 9:58 PM
Description:

Gist demonstrating the issue: https://gist.github.com/alindeman/5279291

The specific sequence of code in the Gist places the object's ID in varTable[0].

Normally, the varTable index containing the object ID's is nulled out upon dup or clone (RubyBasicObject.makeSyncedTable) ... but not if objectIdIdx == 0.

I think the fix is simply to change the code to read:

if (objectIdIdx >= 0 && objectIdIdx < currentTable.length)

If you concur, I can make a pull request.

Project: JRuby
Priority: Critical Critical
Reporter: Andy Lindeman
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

Reply via email to