String#initialize should be private
-----------------------------------

                 Key: JRUBY-1794
                 URL: http://jira.codehaus.org/browse/JRUBY-1794
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.x
         Environment: Latest JRuby 1.1b1
            Reporter: Vladimir Sizikov
         Attachments: stirng-initialize-private.patch

"a".initialize returns "a" in JRuby, but in MRI:
NoMethodError: private method `initialize' called for "a":String

String#initialize should be private.

This leads to Rubinius spec failure.

The proposed simple patch fixes the problem.

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