Errno errors should allow no-arg constructor
--------------------------------------------

                 Key: JRUBY-2010
                 URL: http://jira.codehaus.org/browse/JRUBY-2010
             Project: JRuby
          Issue Type: Bug
         Environment: Latest JRuby 1.1RC1
            Reporter: Vladimir Sizikov
            Assignee: Vladimir Sizikov


simple thing like:

raise Errno::ENOENT

leads to ArgumentError: wrong number of arguments (0 for 1) in JRuby, but not 
in MRI.

Basically, JRuby's SystemCallError does not allow no-arg constructors, while 
MRI does, and uses default message if the custom message is not provided.

JRuby should do the same.

Fix is coming.

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