String#% can't handle some string arguments with underscores
------------------------------------------------------------

                 Key: JRUBY-1737
                 URL: http://jira.codehaus.org/browse/JRUBY-1737
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.x
         Environment: Latest JRuby 1.1b1 from trunk
            Reporter: Vladimir Sizikov
         Attachments: string-modulo-underscore-handling.patch

Consider the folowing:

{noformat}
puts "%x" % "0_3_7_7"
{noformat}

MRI, Rubinius print:
ff

JRuby prints:
invalid value for Integer: "0_3_7_7" (ArgumentError)

This leads to numerous rubinius spec failures.

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