newSymbol symbolid's make 1.to_sym, etc... give weird answers
-------------------------------------------------------------

                 Key: JRUBY-1353
                 URL: http://jira.codehaus.org/browse/JRUBY-1353
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.0.1
            Reporter: Thomas E Enebo
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.0.2, JRuby 1.1.0


We give out symbol id's starting at 1 and count up.  These symbols get stored 
and can be looked by id2name.  Fixnum.to_sym uses id2name.  Result: wacky 
symbol hijinx.  We need to pick a similiar id scheme to MRI to fix this:

{noformat}
1.to_sym
{noformat}

ends up being :utime for us...

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